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,52 @@
; Comments
(comment) @comment @spell
; General
[
(string)
(raw_string)
] @string
(int) @number
(path) @string.special.path
[
(option)
(variable_name)
] @variable
(command_line_option) @variable.builtin
((option) @variable.builtin
(#not-lua-match? @variable.builtin "^@"))
(command) @keyword
(source_file_directive
(command) @keyword.import)
(attribute) @attribute
(function_name) @function.call
"=" @operator
[
","
":"
] @punctuation.delimiter
[
"#"
"?"
] @punctuation.special
[
"#{"
"}"
"#["
"]"
"["
"{"
] @punctuation.bracket

View file

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