make config more lightweight

This commit is contained in:
davidon-top 2023-09-19 18:57:21 +02:00
parent c0ea7b465b
commit 9d922f8de5
16 changed files with 79 additions and 515 deletions

View file

@ -17,8 +17,17 @@ require"nvim-treesitter.configs".setup {
node_decremental = "grm",
},
},
rainbow = {
enable = true,
-- list of languages you want to disable the plugin for
disable = {},
-- Which query to use for finding delimiters
query = 'rainbow-parens',
-- Highlight the entire buffer all at once
strategy = require('ts-rainbow').strategy.global,
},
}
vim.wo.foldmethod = "expr"
vim.wo.foldmethod = "manual"
vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
vim.o.foldlevelstart = 99 -- do not close folds when a buffer is opened