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

View file

@ -0,0 +1,36 @@
; Properties
;-----------
(bare_key) @type
(quoted_key) @string
(pair (bare_key)) @property
; Literals
;---------
(boolean) @boolean
(comment) @comment @spell
(string) @string
(integer) @number
(float) @float
(offset_date_time) @string.special
(local_date_time) @string.special
(local_date) @string.special
(local_time) @string.special
; Punctuation
;------------
"." @punctuation.delimiter
"," @punctuation.delimiter
"=" @operator
"[" @punctuation.bracket
"]" @punctuation.bracket
"[[" @punctuation.bracket
"]]" @punctuation.bracket
"{" @punctuation.bracket
"}" @punctuation.bracket
(ERROR) @error

View file

@ -0,0 +1,11 @@
[
(array)
(inline_table)
] @indent.begin
[
"["
"]"
"{"
"}"
] @indent.branch

View file

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

View file

@ -0,0 +1,4 @@
[
(table)
(table_array_element)
] @scope