feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent c13e28f894
commit 2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions

View file

@ -0,0 +1,43 @@
;;;; Simple tokens ;;;;
(terminal) @string.grammar
(special_sequence) @string.special.grammar
(integer) @number
(comment) @comment
;;;; Identifiers ;;;;
; Allow different highlighting for specific casings
((identifier) @type
(#lua-match? @type "^%u"))
((identifier) @symbol
(#lua-match? @symbol "^%l"))
((identifier) @constant
(#lua-match? @constant "^%u[%u%d_]+$"))
;;; Punctuation ;;;;
[
";"
","
] @punctuation.delimiter
[
"|"
"*"
"-"
] @operator
"=" @keyword.operator
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket