diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index fe3c3dc..dc400ac 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -114,7 +114,7 @@ vim.opt.showmode = false --- Operation configuration --- vim.opt.swapfile = false vim.opt.backup = false -vim.opt.undodir = "~/.config/nvim/undodir" +vim.opt.undodir = vim.fn.expand('~').."/.config/nvim/undodir" vim.opt.undofile = true --- Folding behaviour configuration ---