fix(nvim): configure undodir
This commit is contained in:
parent
e5c40a7a14
commit
4f0c536448
|
@ -119,7 +119,7 @@ end
|
||||||
local function set_vim_o()
|
local function set_vim_o()
|
||||||
local settings = {
|
local settings = {
|
||||||
autoindent = true,
|
autoindent = true,
|
||||||
backup = true,
|
backup = false,
|
||||||
breakindent = true,
|
breakindent = true,
|
||||||
conceallevel = 0,
|
conceallevel = 0,
|
||||||
cursorline = true,
|
cursorline = true,
|
||||||
|
@ -149,6 +149,8 @@ local function set_vim_o()
|
||||||
tabstop = 2,
|
tabstop = 2,
|
||||||
termguicolors = true,
|
termguicolors = true,
|
||||||
textwidth = 0,
|
textwidth = 0,
|
||||||
|
undodir = os.getenv("HOME") .. "/.vim/undodir",
|
||||||
|
undofile = true,
|
||||||
updatetime = 1000,
|
updatetime = 1000,
|
||||||
wrap = false,
|
wrap = false,
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue