Revert "Extract syntax highlighting properties from tree-sitter highlight queries (#2797)"
This reverts commit45c635872b
, reversing changes made tof2b82369f2
.
This commit is contained in:
parent
b0ec05a732
commit
9e755bb855
57 changed files with 553 additions and 630 deletions
|
@ -44,7 +44,7 @@
|
|||
; Special identifiers
|
||||
|
||||
((identifier) @type
|
||||
(.match? @type "^[A-Z]"))
|
||||
(#match? @type "^[A-Z]"))
|
||||
(type_identifier) @type
|
||||
(predefined_type) @type.builtin
|
||||
|
||||
|
@ -53,7 +53,7 @@
|
|||
(shorthand_property_identifier)
|
||||
(shorthand_property_identifier_pattern)
|
||||
] @constant
|
||||
(.match? @constant "^_*[A-Z_][A-Z\\d_]*$"))
|
||||
(#match? @constant "^_*[A-Z_][A-Z\\d_]*$"))
|
||||
|
||||
; Literals
|
||||
|
||||
|
@ -214,4 +214,4 @@
|
|||
"type"
|
||||
"readonly"
|
||||
"override"
|
||||
] @keyword
|
||||
] @keyword
|
Loading…
Add table
Add a link
Reference in a new issue