Skip to content

Commit 0e54134

Browse files
fix(styx): update highlights.scm to use > for attributes (#140)
## Summary - Updates highlights.scm to use `>` instead of `=` for attribute separators The grammar was updated in cdb75ab to use `>` instead of `=` for attribute separators, but highlights.scm was not updated to match. This caused query validation to fail with "Invalid node type >", breaking Styx syntax highlighting completely. ## Test plan - [x] `cargo xtask grammar-test styx` passes
1 parent d739550 commit 0e54134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langs/group-maple/styx/def/queries/highlights.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
; Attributes - key in attribute syntax
2424
(attribute
2525
key: (bare_scalar) @property
26-
"=" @operator)
26+
">" @operator)
2727

2828
; Keys in entries - bare scalars in the key position (overrides @string above)
2929
(entry

0 commit comments

Comments
 (0)