Treesitter code folding

This commit is contained in:
2025-06-25 19:19:53 -04:00
parent 1ca45dffc4
commit 44bba9d96f

View File

@@ -14,5 +14,7 @@ return {
}) })
vim.cmd('autocmd FileType ruby setlocal indentkeys-=.') vim.cmd('autocmd FileType ruby setlocal indentkeys-=.')
vim.opt.foldmethod = 'expr'
vim.opt.foldexpr = 'nvim_treesitter#foldexpr()'
end, end,
} }