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) (angle_unit)
(integer_distance_unit) (integer_distance_unit)
(float_distance_unit) (float_distance_unit)
] @type ] @string
(percentage) @number (percentage) @number
(percentage (percentage
"%" @type) "%" @string)
[ (global_selector) @character.special
(global_selector)
(id_selector) (id_selector) @constant
] @module
(id_selector_view (id_selector_view
[ [
@ -136,4 +135,4 @@
"env" @function.builtin "env" @function.builtin
(identifier) @variable) (identifier) @variable)
(property_name) @variable (property_name) @property

View file

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