joshmedeski / dotfiles

Josh's dotfiles for his developer environment
https://dotfiles.joshmedeski.com
373 stars 33 forks source link

Use treesitter for folding #5

Closed jdhoffa closed 1 year ago

jdhoffa commented 1 year ago

This is a super small feature that:

Enables expr based folding in neovim based on treesitter parsers Adds autocmd to ensure code is unfolded when new file or buffer is opened Feel free to close the PR if you don't think you would use this, I'm just reviewing how my fork has diverged from your project, and trying to extract things you might find useful :-)