Fix neovim undodir leak

This commit is contained in:
seajee
2024-12-21 13:21:47 +01:00
parent 5b0b8c4bd1
commit ce24e0bb60
2 changed files with 1 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ vim.opt.breakindent = true
-- Save undo history
vim.opt.undofile = true
vim.opt.undodir = os.getenv("HOME") .. "/.vim/nvim_undodir"
vim.opt.undodir = os.getenv("HOME") .. "/.cache/nvim_undodir"
vim.opt.swapfile = false
vim.opt.backup = false