Skip to content

Commit d878ab5

Browse files
Crypto-SpartanMach565
authored andcommitted
hopefully finally fix this rebasing mess
1 parent 9165133 commit d878ab5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

init.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,15 @@ vim.opt.cursorline = true
156156
-- Minimal number of screen lines to keep above and below the cursor.
157157
vim.opt.scrolloff = 10
158158

159+
<<<<<<< HEAD
159160
-- Attempt to open files with the following file encodings, left to right
160161
vim.opt.fileencodings = {'ucs-bom','utf-8','sjis','default','latin1'}
162+
=======
163+
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
164+
-- instead raise a dialog asking if you wish to save the current file(s)
165+
-- See `:help 'confirm'`
166+
vim.opt.confirm = true
167+
>>>>>>> 38f4744 (feat: add `vim.opt.confirm = true` (#1384))
161168

162169
-- [[ Basic Keymaps ]]
163170
-- See `:help vim.keymap.set()`

0 commit comments

Comments
 (0)