Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T03:01:37.505Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

highlights.scm

166 lines · 2.2 KB · text
1(identifier) @variable
2
3(type_identifier) @type
4
5(type_spec
6  name: (type_identifier) @type.definition)
7
8((type_identifier) @type.builtin
9  (#any-of? @type.builtin
10    "any" "bool" "byte" "comparable" "complex64" "complex128" "error" "float32" "float64" "int"
11    "int8" "int16" "int32" "int64" "rune" "string" "uint" "uint8" "uint16" "uint32" "uint64"
12    "uintptr"))
13
14(field_identifier) @property
15
16(package_identifier) @namespace
17
18(label_name) @label
19
20(keyed_element
21  .
22  (literal_element
23    (identifier) @property))
24
25(call_expression
26  function: (identifier) @function.call)
27
28(call_expression
29  function: (selector_expression
30    field: (field_identifier) @function.method.call))
31
32((call_expression
33  function: (identifier) @function.builtin)
34  (#any-of? @function.builtin
35    "append" "cap" "clear" "close" "complex" "copy" "delete" "imag" "len" "make" "max" "min" "new"
36    "panic" "print" "println" "real" "recover"))
37
38(function_declaration
39  name: (identifier) @function)
40
41(method_declaration
42  name: (field_identifier) @function.method)
43
44(method_elem
45  name: (field_identifier) @function.method)
46
47[
48  ";"
49  "."
50  ","
51  ":"
52] @punctuation.delimiter
53
54[
55  "("
56  ")"
57  "{"
58  "}"
59  "["
60  "]"
61] @punctuation.bracket
62
63[
64  "--"
65  "-"
66  "-="
67  ":="
68  "!"
69  "!="
70  "..."
71  "*"
72  "*"
73  "*="
74  "/"
75  "/="
76  "&"
77  "&&"
78  "&="
79  "%"
80  "%="
81  "^"
82  "^="
83  "+"
84  "++"
85  "+="
86  "<-"
87  "<"
88  "<<"
89  "<<="
90  "<="
91  "="
92  "=="
93  ">"
94  ">="
95  ">>"
96  ">>="
97  "|"
98  "|="
99  "||"
100  "~"
101] @operator
102
103[
104  "break"
105  "case"
106  "chan"
107  "const"
108  "continue"
109  "default"
110  "defer"
111  "else"
112  "fallthrough"
113  "for"
114  "func"
115  "go"
116  "goto"
117  "if"
118  "import"
119  "interface"
120  "map"
121  "package"
122  "range"
123  "return"
124  "select"
125  "struct"
126  "switch"
127  "type"
128  "var"
129] @keyword
130
131[
132  (interpreted_string_literal)
133  (raw_string_literal)
134  (rune_literal)
135] @string
136
137(escape_sequence) @string.escape
138
139[
140  (int_literal)
141  (float_literal)
142  (imaginary_literal)
143] @number
144
145(const_spec
146  name: (identifier) @constant)
147
148[
149  (true)
150  (false)
151] @boolean
152
153[
154  (nil)
155  (iota)
156] @constant.builtin
157
158(comment) @comment
159
160; Go directives
161((comment) @preproc
162  (#match? @preproc "^//go:"))
163
164((comment) @preproc
165  (#match? @preproc "^// \\+build"))
166
Served at tenant.openagents/omega Member data and write actions are omitted.