aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/disassembly/highlights.scm20
1 files changed, 16 insertions, 4 deletions
diff --git a/queries/disassembly/highlights.scm b/queries/disassembly/highlights.scm
index 2a1e2cdf4..b1ece9ab6 100644
--- a/queries/disassembly/highlights.scm
+++ b/queries/disassembly/highlights.scm
@@ -8,11 +8,23 @@
(identifier) @variable
-(bad_instruction) @text.warning
-(code_location (identifier) @function.call)
+(bad_instruction) @comment.warning
+
+(code_location
+ (identifier) @function.call)
+
(comment) @comment
+
(instruction) @function
+
(memory_dump) @string
-["<" ">"] @punctuation.special
-["+" ":"] @punctuation.delimiter
+[
+ "<"
+ ">"
+] @punctuation.special
+
+[
+ "+"
+ ":"
+] @punctuation.delimiter