File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1
1
; Function calls
2
2
3
+ (call_expression
4
+ function: (identifier) @function.builtin
5
+ (match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$"))
6
+
3
7
(call_expression
4
8
function: (identifier) @function )
5
9
24
28
(parameter_declaration (identifier) @variable.parameter )
25
29
(variadic_parameter_declaration (identifier) @variable.parameter )
26
30
31
+ ((type_identifier) @type.builtin
32
+ (match? @type.builtin "^(any|bool|byte|comparable|complex128|complex64|error|float32|float64|int|int16|int32|int64|int8|rune|string|uint|uint16|uint32|uint64|uint8|uintptr)$"))
33
+
27
34
(type_identifier) @type
28
35
(field_identifier) @variable.other.member
29
36
(identifier) @variable
You can’t perform that action at this time.
0 commit comments