enable persistant undo history
This commit is contained in:
parent
9679e2b562
commit
bc9758dbe1
3 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,10 @@ vim.opt.shiftwidth = 4 -- Indent by 4
|
|||
vim.opt.softtabstop = 4 -- Backspace removes 4 spaces
|
||||
vim.opt.expandtab = true -- Use spaces by default (overridden per-filetype)
|
||||
|
||||
-- Persistent undo
|
||||
vim.opt.undofile = true -- Enable persistent undo
|
||||
vim.opt.undodir = vim.fn.stdpath("config") .. "/undodir" -- Store undo files in config directory
|
||||
|
||||
-- LSP diagnostics configuration
|
||||
vim.diagnostic.config({
|
||||
virtual_text = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue