Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ebnf/highlights.scm')
| -rw-r--r-- | runtime/queries/ebnf/highlights.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/runtime/queries/ebnf/highlights.scm b/runtime/queries/ebnf/highlights.scm new file mode 100644 index 00000000..5089073c --- /dev/null +++ b/runtime/queries/ebnf/highlights.scm @@ -0,0 +1,34 @@ +;; Simple tokens +(terminal) @string + +(special_sequence) @string.special + +(integer) @constant.numeric.integer + +(comment) @comment.block + +;; Identifiers +(identifier) @identifier + +;; Punctuation +[ + ";" + "," +] @punctuation.delimiter + +[ + "|" + "*" + "-" +] @operator + +"=" @keyword.operator + +[ + "(" + ")" + "[" + "]" + "{" + "}" +] @punctuation.bracket |