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 @@
[
(intent_def)
(slot_def)
(alias_def)
] @fold

View file

@ -0,0 +1,54 @@
; Punctuation
[
"%["
"@["
"~["
"*["
"]"
"("
")"
] @punctuation.bracket
"," @punctuation.delimiter
(eq) @operator
([
"\""
"'"
] @punctuation.special
(#set! conceal ""))
[
"%"
"?"
"#"
] @character.special
; Entities
(intent) @module
(slot) @type
(variation) @attribute
(alias) @keyword.directive
(number) @number
(argument
key: (string) @property
value: (string) @string)
(escape) @string.escape
; Import
"import" @keyword.import
(file) @string.special.path
; Text
(word) @spell
; Comment
(comment) @comment @spell

View file

@ -0,0 +1,8 @@
[
(intent_def)
(slot_def)
(alias_def)
] @indent.begin
(ERROR
"]") @indent.begin

View file

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

View file

@ -0,0 +1,16 @@
; Definitions
(intent_def
(intent) @local.definition)
(slot_def
(slot) @local.definition)
(alias_def
(alias) @local.definition)
; References
(slot_ref
(slot) @local.reference)
(alias_ref
(alias) @local.reference)