diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index b35a337..3897db3 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -10,7 +10,7 @@ function _LIVE_SERVER() live_server:toggle() end -function _close_buffer() +function _CLOSE_BUFFER() local buf = vim.api.nvim_get_current_buf() -- delete current buffer require("bufdelete").bufdelete(buf, true) @@ -125,7 +125,7 @@ keymap("x", "", ":'<,'>t'>", opts) -- keymap("n", "", "RunFile", opts) -- close current buffer -keymap("n", "", "lua _close_buffer()", opts) +keymap("n", "", "lua _CLOSE_BUFFER()", opts) -- Visual Block -- -- Move text up and down