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 bd488e6 commit b9f7683Copy full SHA for b9f7683
init.lua
@@ -96,6 +96,11 @@ vim.g.have_nerd_font = true
96
-- [[ Setting options ]]
97
require 'options'
98
99
+-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
100
+-- instead raise a dialog asking if you wish to save the current file(s)
101
+-- See `:help 'confirm'`
102
+vim.opt.confirm = true
103
+
104
-- [[ Basic Keymaps ]]
105
require 'keymaps'
106
0 commit comments