make config more lightweight
This commit is contained in:
parent
c0ea7b465b
commit
9d922f8de5
16 changed files with 79 additions and 515 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue