refactor(nvim): use state
dir for neovim undodir
Was using XDG_CACHE which is incorrect. Yes, Neovim uses this by default, but it's nice to ensure this is always set as I desire instead of an upstream change setting this differently.
This commit is contained in:
parent
ef76ad857c
commit
4e97b08d50
@ -58,7 +58,7 @@ M.setup = function()
|
||||
opt.signcolumn = "yes"
|
||||
|
||||
-- Enable persistent undo
|
||||
opt.undodir = vim.fn.stdpath("cache") .. "/undo"
|
||||
opt.undodir = vim.fn.stdpath("state") .. "/undo"
|
||||
opt.undofile = true
|
||||
|
||||
-- Better folding
|
||||
|
Loading…
x
Reference in New Issue
Block a user