tree-sitter-just icon indicating copy to clipboard operation
tree-sitter-just copied to clipboard

Support rule groups

Open lvignoli opened this issue 5 months ago • 0 comments

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.)

lvignoli avatar Sep 17 '24 14:09 lvignoli