Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T03:00:15.449Z 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

167 lines · 1.7 KB · text
1[
2  (string)
3  (raw_string)
4  (heredoc_body)
5  (heredoc_start)
6  (heredoc_end)
7  (ansi_c_string)
8  (word)
9] @string
10
11(variable_name) @variable
12
13[
14  "export"
15  "function"
16  "unset"
17  "local"
18  "declare"
19] @keyword
20
21[
22  "case"
23  "do"
24  "done"
25  "elif"
26  "else"
27  "esac"
28  "fi"
29  "for"
30  "if"
31  "in"
32  "select"
33  "then"
34  "until"
35  "while"
36] @keyword.control
37
38(comment) @comment
39
40; Shebang
41((program
42  .
43  (comment) @keyword.directive)
44  (#match? @keyword.directive "^#![ \t]*/"))
45
46(function_definition
47  name: (word) @function)
48
49(command_name
50  (word) @function)
51
52[
53  (file_descriptor)
54  (number)
55] @number
56
57(regex) @string.regex
58
59[
60  (command_substitution)
61  (process_substitution)
62  (expansion)
63] @embedded
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  "-o"
99  "-a"
100  "^"
101  "&"
102  "<="
103  ">="
104  "+"
105  "-"
106  "*"
107  "**"
108  "!"
109  "++"
110  "--"
111  "~"
112  "?"
113] @operator
114
115(test_operator) @keyword.operator
116
117";" @punctuation.delimiter
118
119[
120  "("
121  ")"
122  "{"
123  "}"
124  "["
125  "]"
126] @punctuation.bracket
127
128(test_command
129  [
130    "[["
131    "]]"
132  ] @punctuation.bracket)
133
134(compound_statement
135  [
136    "(("
137    "))"
138  ] @punctuation.bracket)
139
140(simple_expansion
141  "$" @punctuation.special)
142
143(expansion
144  "${" @punctuation.special
145  "}" @punctuation.special) @embedded
146
147(command_substitution
148  "$(" @punctuation.special
149  ")" @punctuation.special)
150
151(arithmetic_expansion
152  [
153    "$(("
154    "$["
155    "))"
156    "]"
157  ] @punctuation.special)
158
159((command
160  (_) @constant)
161  (#match? @constant "^-"))
162
163(case_item
164  value: (_) @string.regex)
165
166(special_variable_name) @variable.special
167
Served at tenant.openagents/omega Member data and write actions are omitted.