commit | 36eef4efa7799c69ca3ed173e5a239ec8556bc60 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Wed Aug 03 00:37:44 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Wed Aug 03 00:42:38 2022 +0100 |
tree | 489681de0717d39bc8196ed57feb48e76dc3e316 | |
parent | 4597d657f5d565deb89c3a5395615290ada3c6d5 [diff] [blame] |
Do some more stuff with folding
diff --git a/src/apps/personal/vim.nix b/src/apps/personal/vim.nix index 92a645e..b087820 100644 --- a/src/apps/personal/vim.nix +++ b/src/apps/personal/vim.nix
@@ -104,6 +104,11 @@ set foldmethod=expr set foldexpr=nvim_treesitter#foldexpr() + + set viewoptions-=options + autocmd BufWinLeave ?* mkview! + autocmd BufWinEnter ?* normal zR + autocmd BufWinEnter ?* silent! loadview ''; plugins = [