feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,53 @@
; Forked from tree-sitter-regex
; The MIT License (MIT) Copyright (c) 2014 Max Brunsfeld
[
"("
")"
"(?"
"(?:"
"(?<"
"<"
">"
"["
"]"
"{"
"}"
] @punctuation.bracket
(group_name) @property
; These are escaped special characters that lost their special meaning
; -> no special highlighting
(identity_escape) @string.regexp
(class_character) @constant
(decimal_digits) @number
[
(control_letter_escape)
(character_class_escape)
(control_escape)
(boundary_assertion)
(non_boundary_assertion)
] @string.escape
[
"*"
"+"
"?"
"|"
"="
"!"
"-"
"\\k"
(lazy)
] @operator
[
(start_assertion)
(end_assertion)
","
] @punctuation.delimiter
(any_character) @variable.builtin