diff --git a/lua/custom/options.lua b/lua/custom/options.lua index 1c6c7ba7..c16cd476 100644 --- a/lua/custom/options.lua +++ b/lua/custom/options.lua @@ -53,7 +53,7 @@ vim.api.nvim_create_autocmd('VimLeavePre', { 2 ) if choice ~= 1 then - vim.cmd('cquit!') + return end end end,