summaryrefslogtreecommitdiff
path: root/runtime/queries/gas/highlights.scm
blob: 46cefcbabc3a4616f868e4e7bec10a0beada2977 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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