Update treesitter config

This commit is contained in:
2023-09-04 03:42:41 +02:00
parent 85865ba429
commit 3f5579b350
2 changed files with 45 additions and 28 deletions
+1 -3
View File
@@ -28,9 +28,7 @@ vim.opt.softtabstop = 4
vim.opt.expandtab = true
vim.opt.shiftwidth = 4
vim.opt.smarttab = false
-- Folds are configured in nvim-treesitter, but this needs to be set before
-- loading the first buffer which is not possible in nvim-treesitter.lua due to
-- lazy loading (I think)
-- Folds are configured in nvim-treesitter, so this is only for fallback
vim.opt.foldlevelstart = 99
vim.opt.foldmethod = "indent"
vim.opt.foldignore = ""