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:
Nate Butler 2023-07-27 12:41:19 -04:00
parent 85f193dd09
commit 86fa27eb54
30 changed files with 81 additions and 83 deletions

View file

@ -18,16 +18,16 @@
; Identifier naming conventions
((identifier) @type
(#match? @type "^[A-Z]"))
(.match? @type "^[A-Z]"))
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\\d_]*$"))
(.match? @constant "^_*[A-Z][A-Z\\d_]*$"))
; Builtin functions
((call
function: (identifier) @function.builtin)
(#match?
(.match?
@function.builtin
"^(abs|all|any|ascii|bin|bool|breakpoint|bytearray|bytes|callable|chr|classmethod|compile|complex|delattr|dict|dir|divmod|enumerate|eval|exec|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|isinstance|issubclass|iter|len|list|locals|map|max|memoryview|min|next|object|oct|open|ord|pow|print|property|range|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|vars|zip|__import__)$"))
@ -122,4 +122,4 @@
"yield"
"match"
"case"
] @keyword
] @keyword