Adding undodir

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-18 11:21:58 +02:00
parent ab6781f3ce
commit c4fb8d2450

View File

@@ -21,6 +21,11 @@ opt.softtabstop = 4
opt.shiftwidth = 4 opt.shiftwidth = 4
opt.expandtab = true opt.expandtab = true
vim.opt.swapfile = false
vim.opt.backup = false
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
vim.opt.undofile = true
opt.smartindent = true opt.smartindent = true
opt.wrap = false opt.wrap = false