Skip to content

Commit

Permalink
Improve CSS highlighting for property_name (#17324)
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter authored Sep 17, 2024
1 parent e88b48a commit 27f0995
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion crates/languages/src/css/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
(class_name)
(id_name)
(namespace_name)
(property_name)
(feature_name)
] @property

(property_name) @constant

(function_name) @function

(
Expand Down Expand Up @@ -75,4 +76,17 @@
[
","
":"
"."
"::"
";"
"#"
] @punctuation.delimiter

[
"{"
")"
"("
"}"
"["
"]"
] @punctuation.bracket

0 comments on commit 27f0995

Please sign in to comment.