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
2 parents af749bd + 38f4744 commit 891bdd8Copy full SHA for 891bdd8
lua/options.lua
@@ -61,4 +61,9 @@ vim.opt.cursorline = true
61
-- Minimal number of screen lines to keep above and below the cursor.
62
vim.opt.scrolloff = 10
63
64
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
65
+-- instead raise a dialog asking if you wish to save the current file(s)
66
+-- See `:help 'confirm'`
67
+vim.opt.confirm = true
68
+
69
-- vim: ts=2 sts=2 sw=2 et
0 commit comments