You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the the fold only goes down to the function/method doc or body.
However I sometime misses the fold the inside the body of a method provided by treesitter, e.g folding long function call, internal if/else or for loop logic.
I suppose the current behavior is a design choice to avoid over-folding, but could you consider support finer folding as wellj possibly as an configurable option?
The text was updated successfully, but these errors were encountered:
You can see what I've commented out here in the fold.scm to get an idea of what's in the normal tree-sitter folds. All this plugin does it just make some custom ones and comment those out.
Thanks, I will take a look.
What I like about this pluging is the proper grouping of the multiline function definition with the summary sentence, plus separate folding of doc. That would be great addition on top of base treesitter.
P.s. how did you get syntax highlighting on folded lines?
Hi, thanks for the nice plugin.
Currently the the fold only goes down to the function/method doc or body.
However I sometime misses the fold the inside the body of a method provided by treesitter, e.g folding long function call, internal if/else or for loop logic.
I suppose the current behavior is a design choice to avoid over-folding, but could you consider support finer folding as wellj possibly as an configurable option?
The text was updated successfully, but these errors were encountered: