This commit is contained in:
Marcelo Jacobus 2025-07-15 12:06:34 -03:00
parent 9dc1c72a31
commit a00d77f3d8

View file

@ -8,3 +8,10 @@ local opt = vim.opt
opt.relativenumber = false
opt.colorcolumn = "100"
opt.swapfile = false
opt.undofile = true
opt.undodir = vim.fn.stdpath("state") .. "/undo"
-- Optional: make sure the directory exists
vim.fn.mkdir(opt.undodir:get(), "p")