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 7a7c8d1 commit 8c036c5Copy full SHA for 8c036c5
init.lua
@@ -156,8 +156,10 @@ vim.opt.cursorline = true
156
-- Minimal number of screen lines to keep above and below the cursor.
157
vim.opt.scrolloff = 10
158
159
-vim.opt.shiftwidth = 4
160
---vim.o.tabstop = 4 -- A TAB character looks like 4 spaces
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
+-- instead raise a dialog asking if you wish to save the current file(s)
161
+-- See `:help 'confirm'`
162
+vim.opt.confirm = true
163
164
-- [[ Basic Keymaps ]]
165
-- See `:help vim.keymap.set()`
0 commit comments