Treesitter code folding
This commit is contained in:
@@ -14,5 +14,7 @@ return {
|
||||
})
|
||||
|
||||
vim.cmd('autocmd FileType ruby setlocal indentkeys-=.')
|
||||
vim.opt.foldmethod = 'expr'
|
||||
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user