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,6 @@
[
(layout_declaration)
(protocol_declaration)
(resource_declaration)
(service_declaration)
] @fold

View file

@ -0,0 +1,67 @@
[
"ajar"
"alias"
"as"
"bits"
"closed"
"compose"
"const"
"error"
"flexible"
"library"
"open"
; "optional" we did not specify a node for optional yet
"overlay"
"protocol"
"reserved"
"strict"
"using"
] @keyword
[
"enum"
"struct"
"table"
"union"
"resource"
"service"
"type"
] @keyword.type
(primitives_type) @type.builtin
(builtin_complex_type) @type.builtin
(const_declaration
(identifier) @constant)
[
"="
"|"
"&"
"->"
] @operator
(attribute
"@" @attribute
(identifier) @attribute)
(string_literal) @string
(numeric_literal) @number
[
(true)
(false)
] @boolean
(comment) @comment
[
"("
")"
"<"
">"
"{"
"}"
] @punctuation.bracket

View file

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