Skip to content

Commit

Permalink
Improve CSS highlighting for property_name.
Browse files Browse the repository at this point in the history
  • Loading branch information
notpeter committed Sep 3, 2024
1 parent 3d83903 commit 79a3e3e
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 79a3e3e

Please sign in to comment.