Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 23f4f52

Browse files
committed
fix(editor): invalid syntax highlights for annotations in Java
1 parent 3c8c4f7 commit 23f4f52

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

editor/src/main/assets/editor/treesitter/java/highlights.scm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@
4141

4242
(annotation
4343
"@" @attribute
44-
name: (identifier) @attribute
45-
(annotation_argument_list
46-
(element_value_pair
47-
key: (identifier) @variable.field)))
44+
name: (identifier) @attribute)
45+
46+
(annotation_argument_list
47+
(element_value_pair
48+
key: (identifier) @variable.field))
4849

4950
(marker_annotation
5051
"@" @attribute

0 commit comments

Comments
 (0)