aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/gas/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/gas/highlights.scm')
-rw-r--r--runtime/queries/gas/highlights.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/runtime/queries/gas/highlights.scm b/runtime/queries/gas/highlights.scm
new file mode 100644
index 00000000..46cefcba
--- /dev/null
+++ b/runtime/queries/gas/highlights.scm
@@ -0,0 +1,21 @@
+(comment) @comment
+(number) @constant.numeric
+(directive_name) @keyword.directive
+(symbol) @variable
+(label) @function
+(label)
+(instruction_prefix) @keyword
+(instruction_name) @function.special
+(register) @constant.builtin
+(string) @string
+(char) @constant.character
+(type) @type
+(constant "$" @constant)
+(operand_modifier) @attribute
+
+(expression
+ ["-" "+" "*" "/" "="] @operator)
+
+["(" ")"] @punctuation.bracket
+
+["," ":"] @punctuation.delimiter