Settings: fixed path to undodir

This commit is contained in:
pr0c3550r 2023-03-09 18:23:54 +01:00
parent cce20ec0d6
commit a8760bbad7

View file

@ -56,5 +56,5 @@ vim.g.netrw_banner = 0
-- undotree file management
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = "~/.local/share/nvim/undodir"
vim.opt.undodir = os.getenv("HOME") .. "/.local/share/nvim/undodir"
vim.opt.undofile = true