nvim: enable undofile
This commit is contained in:
@@ -38,6 +38,9 @@ vim.opt.listchars = "tab:>>,trail:_,eol:$,multispace:··,extends:>,precedes:<,n
|
||||
vim.opt.encoding = "utf-8"
|
||||
vim.opt.fenc = "utf-8"
|
||||
vim.opt.spell = true
|
||||
vim.opt.undofile = true
|
||||
vim.opt.undodir = vim.fn.expand("~/.cache/nvim/undo")
|
||||
|
||||
|
||||
if vim.fn.executable('rg') then
|
||||
vim.opt.grepprg = 'rg --vimgrep --smart-case --hidden'
|
||||
|
Reference in New Issue
Block a user