Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve output of tree-sitter-subtree #2880

Closed
zetashift opened this issue Jun 26, 2022 · 1 comment · Fixed by #4295
Closed

Improve output of tree-sitter-subtree #2880

zetashift opened this issue Jun 26, 2022 · 1 comment · Fixed by #4295
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements

Comments

@zetashift
Copy link
Contributor

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 zetashift added the C-enhancement Category: Improvements label Jun 26, 2022
@kirawi kirawi added the A-helix-term Area: Helix term improvements label Jun 26, 2022
@fisherdarling
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants