mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
add folding
This commit is contained in:
@@ -25,5 +25,13 @@ require 'nvim-treesitter.configs'.setup {
|
||||
indent = {
|
||||
enable = true,
|
||||
disable = { "xml", "python" },
|
||||
}
|
||||
},
|
||||
|
||||
fold = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
|
||||
vim.o.foldmethod = "expr"
|
||||
vim.o.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
vim.o.foldenable = true
|
||||
|
||||
Reference in New Issue
Block a user