mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-24 19:03:49 -08:00
feat: add persistent undofile
This commit is contained in:
parent
b123800156
commit
914cd10148
1 changed files with 6 additions and 0 deletions
|
@ -3,11 +3,17 @@
|
||||||
colorschemes.rose-pine.enable = true;
|
colorschemes.rose-pine.enable = true;
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
|
# Global status/cmdline
|
||||||
laststatus = 3;
|
laststatus = 3;
|
||||||
|
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
number = true;
|
number = true;
|
||||||
|
# sane defaults for tab/space
|
||||||
shiftwidth = 2;
|
shiftwidth = 2;
|
||||||
tabstop = 4;
|
tabstop = 4;
|
||||||
|
# Crank up fold level so tree-sitter doesn't fold everything
|
||||||
foldlevel = 15;
|
foldlevel = 15;
|
||||||
|
# Persistent undos across sessions
|
||||||
|
undofile = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue