feat(rasi): Highlight captures similar to CSS (#6507)

This commit is contained in:
Omar Valdez 2024-04-25 03:05:06 -07:00 committed by GitHub
parent 28a914eb57
commit df111f886c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 7 deletions

View file

@ -80,17 +80,16 @@
(angle_unit)
(integer_distance_unit)
(float_distance_unit)
] @type
] @string
(percentage) @number
(percentage
"%" @type)
"%" @string)
[
(global_selector)
(id_selector)
] @module
(global_selector) @character.special
(id_selector) @constant
(id_selector_view
[
@ -136,4 +135,4 @@
"env" @function.builtin
(identifier) @variable)
(property_name) @variable
(property_name) @property

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))