fix(vim): Fix ~ dir being created on save

This commit is contained in:
Tanguy Herbron 2023-04-11 09:21:33 +02:00
parent 02c6cc457f
commit 1c8a8b91fb

View File

@ -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 ---