We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vim.opt.confirm = true
1 parent 69846f8 commit 085b54fCopy full SHA for 085b54f
init.lua
@@ -95,6 +95,11 @@ vim.g.have_nerd_font = true
95
-- [[ Setting options ]]
96
require 'options'
97
98
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
99
+-- instead raise a dialog asking if you wish to save the current file(s)
100
+-- See `:help 'confirm'`
101
+vim.opt.confirm = true
102
+
103
-- [[ Basic Keymaps ]]
104
require 'keymaps'
105
0 commit comments