@@ -1,14 +1,158 @@
11(type) @type
2−(statement) @keyword.operator
2+(type_keyword) @type.builtin
3+
4+(type [
5+ (local_var)
6+ (global_var)
7+ ] @type)
8+
9+(argument) @variable.parameter
10+
11+(_ inst_name: _ @keyword.operator)
12+
13+[
14+ "catch"
15+ "filter"
16+] @keyword.operator
17+
18+[
19+ "to"
20+ "nuw"
21+ "nsw"
22+ "exact"
23+ "unwind"
24+ "from"
25+ "cleanup"
26+ "swifterror"
27+ "volatile"
28+ "inbounds"
29+ "inrange"
30+ (icmp_cond)
31+ (fcmp_cond)
32+ (fast_math)
33+] @keyword.control
34+
35+(_ callee: _ @function)
36+(function_header name: _ @function)
37+
38+[
39+ "declare"
40+ "define"
41+ (calling_conv)
42+] @keyword.function
43+
44+[
45+ "target"
46+ "triple"
47+ "datalayout"
48+ "source_filename"
49+ "addrspace"
50+ "blockaddress"
51+ "align"
52+ "syncscope"
53+ "within"
54+ "uselistorder"
55+ "uselistorder_bb"
56+ "module"
57+ "asm"
58+ "sideeffect"
59+ "alignstack"
60+ "inteldialect"
61+ "unwind"
62+ "type"
63+ "global"
64+ "constant"
65+ "externally_initialized"
66+ "alias"
67+ "ifunc"
68+ "section"
69+ "comdat"
70+ "thread_local"
71+ "localdynamic"
72+ "initialexec"
73+ "localexec"
74+ "any"
75+ "exactmatch"
76+ "largest"
77+ "nodeduplicate"
78+ "samesize"
79+ "distinct"
80+ "attributes"
81+ "vscale"
82+ "no_cfi"
83+ (linkage_aux)
84+ (dso_local)
85+ (visibility)
86+ (dll_storage_class)
87+ (unnamed_addr)
88+ (attribute_name)
89+] @keyword
90+
91+
92+(function_header [
93+ (linkage)
94+ (calling_conv)
95+ (unnamed_addr)
96+ ] @keyword.function)
97+
98+[
99+ (string)
100+ (cstring)
101+] @string
102+
3103(number) @constant.numeric.integer
4104(comment) @comment
5−(string) @string
6105(label) @label
7−(keyword) @keyword
8−"ret" @keyword.control.return
9−(boolean) @constant.builtin.boolean
106+(_ inst_name: "ret" @keyword.control.return)
10107(float) @constant.numeric.float
11−(constant) @constant
12−(identifier) @variable
13−(symbol) @punctuation.delimiter
14−(bracket) @punctuation.bracket
108+
109+[
110+ (local_var)
111+ (global_var)
112+] @variable
113+
114+[
115+ (struct_value)
116+ (array_value)
117+ (vector_value)
118+] @constructor
119+
120+[
121+ "("
122+ ")"
123+ "["
124+ "]"
125+ "{"
126+ "}"
127+ "<"
128+ ">"
129+ "<{"
130+ "}>"
131+] @punctuation.bracket
132+
133+[
134+ ","
135+ ":"
136+] @punctuation.delimiter
137+
138+[
139+ "="
140+ "|"
141+ "x"
142+ "..."
143+] @operator
144+
145+[
146+ "true"
147+ "false"
148+] @constant.builtin.boolean
149+
150+[
151+ "undef"
152+ "poison"
153+ "null"
154+ "none"
155+ "zeroinitializer"
156+] @constant.builtin
157+
158+(ERROR) @error