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,5 @@
[
(object)
(array)
(assign_block)
] @fold

View file

@ -0,0 +1,37 @@
[
"let"
"in"
] @keyword
[
"{"
"}"
"["
"]"
] @punctuation.bracket
"." @punctuation.delimiter
[
".."
"="
] @operator
(input) @constant
(null) @constant.builtin
(comment) @comment @spell
(string) @string
(integer) @number
(float) @number.float
(float
"." @number.float)
(boolean) @boolean
(path_seg) @property

View file

@ -0,0 +1,24 @@
[
(assign_block
"{")
(object)
(array)
] @indent.begin
(assign_block
"}" @indent.branch)
(assign_block
"}" @indent.end)
(object
"}" @indent.branch)
(object
"}" @indent.end)
(array
"]" @indent.branch)
(array
"]" @indent.end)

View file

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

View file

@ -0,0 +1,13 @@
; scopes
[
(object)
(array)
] @local.scope
; definitions
(assign_block
(assignment
(input) @local.definition.constant))
(value
(input) @local.reference)