diff options
Diffstat (limited to 'queries/css')
| -rw-r--r-- | queries/css/highlights.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/queries/css/highlights.scm b/queries/css/highlights.scm index 18bf7f9b4..bacc5bd26 100644 --- a/queries/css/highlights.scm +++ b/queries/css/highlights.scm @@ -1,6 +1,5 @@ [ "@media" - "@import" "@charset" "@namespace" "@supports" @@ -8,9 +7,10 @@ (at_keyword) (to) (from) - (important) ] @keyword +"@import" @include + (comment) @comment @spell [ @@ -40,6 +40,7 @@ "only" ] @operator +(important) @type.qualifier (attribute_selector (plain_value) @string) (pseudo_element_selector "::" (tag_name) @property) @@ -48,15 +49,15 @@ [ (class_name) (id_name) - (namespace_name) (property_name) (feature_name) (attribute_name) ] @property +(namespace_name) @namespace -((property_name) @type - (#match? @type "^--")) +((property_name) @type.definition + (#match? @type.definition "^--")) ((plain_value) @type (#match? @type "^--")) |
