fix(nvim): configure undodir

This commit is contained in:
Oliver Davies 2023-10-29 23:13:08 +00:00
parent e5c40a7a14
commit 4f0c536448

View file

@ -119,7 +119,7 @@ end
local function set_vim_o()
local settings = {
autoindent = true,
backup = true,
backup = false,
breakindent = true,
conceallevel = 0,
cursorline = true,
@ -149,6 +149,8 @@ local function set_vim_o()
tabstop = 2,
termguicolors = true,
textwidth = 0,
undodir = os.getenv("HOME") .. "/.vim/undodir",
undofile = true,
updatetime = 1000,
wrap = false,
}