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 168e691 commit 6ee1383Copy full SHA for 6ee1383
init.lua
@@ -116,6 +116,10 @@ vim.opt.scrolloff = 10
116
117
-- Highlight as you create a search
118
vim.opt.incsearch = true
119
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
120
+-- instead raise a dialog asking if you wish to save the current file(s)
121
+-- See `:help 'confirm'`
122
+vim.opt.confirm = true
123
124
-- [[ Basic Keymaps ]]
125
-- See `:help vim.keymap.set()`
0 commit comments