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

Support rule groups #176

Closed
lvignoli opened this issue Sep 17, 2024 · 1 comment · Fixed by #183
Closed

Support rule groups #176

lvignoli opened this issue Sep 17, 2024 · 1 comment · Fixed by #183
Labels
help wanted Extra attention is needed

Comments

@lvignoli
Copy link
Contributor

lvignoli commented Sep 17, 2024

Currently, rule groups are not supported and even produce a parse error, — breaking any highlighting based on it.

Example:

[group('python')]
fmt:
    ruff format || true

Capture d’écran 2024-09-17 à 16 55 28

This is the output from Zed's AST using jackTabsCode/zed-just which leverages tree-sitter-just.

(An example from the tree-sitter playground would have been more informative, but I cannot compile tree-sitter-just locally, I'll try again but platform specific issue it seems.)

@tgross35 tgross35 added the help wanted Extra attention is needed label Oct 15, 2024
@kennyp
Copy link
Contributor

kennyp commented Oct 27, 2024

Looks like this is fixed by #183 as well.

@kennyp kennyp mentioned this issue Oct 27, 2024
kennyp added a commit to kennyp/tree-sitter-just that referenced this issue Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants