Revert "Extract syntax highlighting properties from tree-sitter highlight queries (#2797)"
This reverts commit45c635872b, reversing changes made tof2b82369f2.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user