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 @@
(conditional_construct) @fold

View file

@ -0,0 +1,69 @@
(comment) @comment @spell
"set" @keyword
[
"$if"
"$else"
"$endif"
] @keyword.conditional
"$include" @keyword.import
[
"="
"=="
"!="
">="
"<="
">"
"<"
] @operator
[
":"
"-"
] @punctuation.delimiter
[
(application_name)
(keyname)
(keyseq)
(macro)
(string_value)
(term_name)
] @string
(file_path) @string.special.path
(escape_sequence) @string.escape
(symbolic_character_name) @character.special
(key_literal) @character
(function_name) @function
[
(bell_variable)
(bool_variable)
(edit_mode_variable)
(keymap_variable)
(number_variable)
(string_variable)
] @variable.builtin
[
(bell_value)
(edit_mode_value)
(keymap_value)
"version"
"term"
"mode"
] @constant.builtin
(number_value) @number
(version_number) @number.float
(bool_value) @boolean

View file

@ -0,0 +1,11 @@
(conditional_construct) @indent.begin
(ERROR
"$if") @indent.begin
[
"$else"
"$endif"
] @indent.branch
"$endif" @indent.end

View file

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