treesitter folding
This commit is contained in:
parent
76429ff79e
commit
51ffc49f18
|
@ -72,3 +72,9 @@ vim.opt.scrolloff = 10
|
||||||
vim.opt.spell = false
|
vim.opt.spell = false
|
||||||
|
|
||||||
vim.opt.indentkeys:remove ':'
|
vim.opt.indentkeys:remove ':'
|
||||||
|
|
||||||
|
-- Folding
|
||||||
|
vim.opt.foldmethod = 'expr'
|
||||||
|
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||||
|
vim.opt.foldenable = true
|
||||||
|
vim.opt.foldlevel = 99
|
||||||
|
|
Loading…
Reference in New Issue