feat: add ungrammar

This commit is contained in:
Philipp Mildenberger 2023-02-20 18:05:10 +01:00 committed by Amaan Qureshi
parent 20a8f30ace
commit fe80f7c2bb
8 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1 @@
(node) @fold

View file

@ -0,0 +1,30 @@
(comment) @comment
(definition) @keyword
(identifier) @variable
(label_name) @label
(token) @string
[
"="
"|"
] @operator
[
"*"
"?"
] @repeat
[
":"
] @punctuation.delimiter
[
"("
")"
] @punctuation.bracket
(ERROR) @error

View file

@ -0,0 +1,6 @@
(node) @indent
[
(ERROR)
(comment)
] @auto

View file

@ -0,0 +1,2 @@
(comment) @comment

View file

@ -0,0 +1,7 @@
(grammar) @scope
(definition) @definition
(label_name) @definition.label
(identifier) @reference