helix icon indicating copy to clipboard operation
helix copied to clipboard

Improve output of tree-sitter-subtree

Open zetashift opened this issue 3 years ago • 1 comments

Describe your feature request

Current output of :tree-sitter-subtree

image

This reads fine for small code snippets, but for big blocks it gets kind of unreadable. A way of improving this, from the-mikedavis from helix Matrix chat:

we could format these like tree-sitter parse pretty easily, i.e. break lines and do indentation

zetashift avatar Jun 26 '22 11:06 zetashift

I'll work on this :) I think I have a pretty simple implementation.

fisherdarling avatar Oct 15 '22 11:10 fisherdarling