treesitter folding with space x :)
This commit is contained in:
@@ -48,3 +48,8 @@ opt.smartindent= true
|
||||
|
||||
-- disable nvim intro
|
||||
opt.shortmess:append('sI')
|
||||
|
||||
-- Treesitter based folding
|
||||
opt.foldlevel = 20
|
||||
opt.foldmethod = 'expr'
|
||||
opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||
|
||||
Reference in New Issue
Block a user