diff options
Diffstat (limited to 'queries/gsp/highlights.scm')
-rw-r--r-- | queries/gsp/highlights.scm | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/queries/gsp/highlights.scm b/queries/gsp/highlights.scm index 92e61f6..bc81edb 100644 --- a/queries/gsp/highlights.scm +++ b/queries/gsp/highlights.scm @@ -1,12 +1,9 @@ -[">" "-" "=" "@"] @operator +["-" "=" "@"] @operator ["{" "}"] @tag.delimiter -(node_name) @tag -[ - (attribute_name) - (class_shorthand) - (id_shorthand) -] @tag.attribute -(attribute_value) @string +(node name: (ident) @tag) +[(id_attr) (class_attr)] @tag.attribute +(attr name: (ident) @tag.attribute) +(string) @string (comment) @comment ([_] @comment (#has-ancestor? @comment comment)) |