Update uses of #
to .
in our scheme files where they are interchangeable.
uses of `#` cause ERRORs in our scheme highlighting
This commit is contained in:
parent
85f193dd09
commit
86fa27eb54
30 changed files with 81 additions and 83 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