Add color for 'variable.special' and use it in highlight queries
This commit is contained in:
parent
ec76146a23
commit
070c4bc503
6 changed files with 17 additions and 10 deletions
|
@ -41,10 +41,13 @@
|
|||
|
||||
(function_name) @function
|
||||
|
||||
((property_name) @variable
|
||||
(#match? @variable "^--"))
|
||||
((plain_value) @variable
|
||||
(#match? @variable "^--"))
|
||||
(
|
||||
[
|
||||
(property_name)
|
||||
(plain_value)
|
||||
] @variable.special
|
||||
(#match? @variable.special "^--")
|
||||
)
|
||||
|
||||
[
|
||||
"@media"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue