mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-23 04:51:04 +00:00
Setup undo
This commit is contained in:
parent
a54f1e1f3d
commit
12b9e94001
1 changed files with 6 additions and 0 deletions
|
|
@ -10,6 +10,12 @@ vim.opt.relativenumber = false
|
|||
vim.opt.colorcolumn = "100"
|
||||
vim.opt.swapfile = false
|
||||
|
||||
-- undo
|
||||
--
|
||||
vim.opt.undofile = true
|
||||
vim.opt.undodir = vim.fn.stdpath("state") .. "/undo"
|
||||
-- vim.fn.mkdir(vim.opt.undodir:get(), "p")
|
||||
|
||||
-- suggested by chatgpt
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue