feat: add persistent undofile

This commit is contained in:
Youwen Wu 2024-09-18 01:26:14 -07:00
parent b123800156
commit 914cd10148
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -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;
}; };
} }