diff --git a/lua/core/options.lua b/lua/core/options.lua index ee86d75e..30ec75eb 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -55,9 +55,6 @@ opt.updatetime = 250 -- when cursor reaches end/beginning of line opt.whichwrap:append "<>[]hl" --- auto-wrap comments, don't auto insert comment on o/O and enter -opt.formatoptions:remove "cro" - g.mapleader = " " -- disable some builtin vim plugins diff --git a/lua/core/utils.lua b/lua/core/utils.lua index 930f8162..b89b9d7d 100644 --- a/lua/core/utils.lua +++ b/lua/core/utils.lua @@ -9,7 +9,7 @@ M.close_buffer = function(bufnr) else bufnr = bufnr or api.nvim_get_current_buf() require("core.utils").tabuflinePrev() - vim.cmd("silent! confirm bd" .. bufnr) + vim.cmd("confirm bd" .. bufnr) end end