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,61 @@
(comment) @comment @spell
[
"forall"
"in"
"let"
"default"
"doc"
"rec"
] @keyword
"fun" @keyword.function
"import" @include
[ "if" "then" "else" ] @conditional
"match" @conditional
(types) @type
"Array" @type.builtin
; BUILTIN Constants
(bool) @boolean
"null" @constant.builtin
(num_literal) @number
(infix_op) @operator
(type_atom) @type
(enum_tag) @variable
(chunk_literal_single) @string
(chunk_literal_multi) @string
(str_esc_char) @string.escape
[
"{" "}"
"(" ")"
"[|" "|]"
] @punctuation.bracket
(multstr_start) @punctuation.bracket
(multstr_end) @punctuation.bracket
(interpolation_start) @punctuation.bracket
(interpolation_end) @punctuation.bracket
(record_field) @field
(builtin) @function.builtin
(fun_expr pats:
(pattern id:
(ident) @parameter
)
)
(applicative t1:
(applicative (record_operand) @function)
)

View file

@ -0,0 +1,13 @@
[
(atom (uni_record)) ; for {...}
(atom terms: (term)) ; for [...]
] @indent.begin
[
"]"
"}"
] @indent.end @indent.branch
[
(comment)
] @indent.auto