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,50 @@
(comment) @comment @spell
(key) @property
(value) @string
(value
(escape) @string.escape)
((value) @boolean
(#any-of? @boolean "true" "false"))
((value) @number
(#lua-match? @number "^%d+$"))
((index) @number
(#lua-match? @number "^%d+$"))
((substitution
(key) @constant)
(#lua-match? @constant "^[A-Z_][A-Z0-9_]*$"))
(substitution
(key) @function
"::" @punctuation.special
(secret) @constant.macro)
(property
[
"="
":"
] @operator)
[
"${"
"}"
] @punctuation.special
(substitution
":" @punctuation.special)
[
"["
"]"
] @punctuation.bracket
[
"."
"\\"
] @punctuation.delimiter

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))

View file

@ -0,0 +1,5 @@
(property
(key) @local.definition)
(substitution
(key) @local.reference)