aboutsummaryrefslogtreecommitdiffstats
path: root/queries/smali/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/smali/highlights.scm')
-rw-r--r--queries/smali/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/smali/highlights.scm b/queries/smali/highlights.scm
index 4f810c293..e9ec9c22c 100644
--- a/queries/smali/highlights.scm
+++ b/queries/smali/highlights.scm
@@ -82,7 +82,10 @@
(#lua-match? @keyword.return "^return"))
((opcode) @conditional
- (#match? @conditional "^(if|cmp)"))
+ (#lua-match? @conditional "^if"))
+
+((opcode) @conditional
+ (#lua-match? @conditional "^cmp"))
((opcode) @exception
(#lua-match? @exception "^throw"))