We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vim.opt.confirm = true
1 parent 3070817 commit 84c4fc3Copy full SHA for 84c4fc3
lua/options.lua
@@ -88,3 +88,8 @@ vim.opt.cursorline = true
88
89
-- Minimal number of screen lines to keep above and below the cursor.
90
vim.opt.scrolloff = 10
91
+
92
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
93
+-- instead raise a dialog asking if you wish to save the current file(s)
94
+-- See `:help 'confirm'`
95
+vim.opt.confirm = true
0 commit comments