Setup treesitter folds in treesitter plugin init

This commit is contained in:
2025-05-31 01:04:55 +02:00
parent 2e4796d7a7
commit 82f6744c2f
2 changed files with 4 additions and 2 deletions
-2
View File
@@ -65,8 +65,6 @@ vim.o.listchars = "trail:~,tab:¦⁃,nbsp:␣"
vim.o.list = true
-- Fold settings
vim.wo.foldmethod = "expr"
vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()"
vim.o.foldlevelstart = 99
-- Windows borders