aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/uxntal
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/uxntal')
-rw-r--r--runtime/queries/uxntal/highlights.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/uxntal/highlights.scm b/runtime/queries/uxntal/highlights.scm
new file mode 100644
index 00000000..a6ff1852
--- /dev/null
+++ b/runtime/queries/uxntal/highlights.scm
@@ -0,0 +1,15 @@
+; highlights.scm
+
+(identifier) @keyword
+(number) @constant.numeric
+(comment) @comment
+(raw_character) @constant.character
+(literal_hex) @constant.numeric.integer
+(macro_definition) @function
+(label_definition) @label
+(sub_label_definition) @label
+(relative_pad) @constant
+(label) @label
+(sub_label) @label
+(ERROR) @error
+["[" "]" "{" "}"] @punctuation.bracket