diff options
| -rw-r--r-- | queries/asm/highlights.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/queries/asm/highlights.scm b/queries/asm/highlights.scm index 341205235..eccf9c996 100644 --- a/queries/asm/highlights.scm +++ b/queries/asm/highlights.scm @@ -1,6 +1,9 @@ ; General (label - (ident) @label) + [ + (ident) + (word) + ] @label) (reg) @variable.builtin @@ -10,6 +13,9 @@ (instruction kind: (_) @function.builtin) +(const + name: (word) @constant) + ; Comments [ (line_comment) @@ -31,6 +37,8 @@ "qword" "ptr" "rel" + "label" + "const" ] @keyword ; Operators & Punctuation @@ -38,6 +46,11 @@ "+" "-" "*" + "/" + "%" + "|" + "^" + "&" ] @operator [ |
