Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-28T05:17:00.153Z 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

indents.scm

43 lines · 768 B · text
1[
2  (call_expression)
3  (assignment_expression)
4  (member_expression)
5  (lexical_declaration)
6  (variable_declaration)
7  (assignment_expression)
8] @indent
9
10; Indent a braceless body (`if (x)\n  y()`). When the body is a `{}` block the
11; `@end` stops the range before the brace so the block rule handles it instead,
12; which keeps Allman-style braces unindented.
13(if_statement
14  consequence: (statement_block)? @end) @indent
15
16(else_clause
17  (statement_block)? @end) @indent
18
19(for_statement
20  body: (statement_block)? @end) @indent
21
22(for_in_statement
23  body: (statement_block)? @end) @indent
24
25(while_statement
26  body: (statement_block)? @end) @indent
27
28(_
29  "["
30  "]" @end) @indent
31
32(_
33  "<"
34  ">" @end) @indent
35
36(_
37  "{"
38  "}" @end) @indent
39
40(_
41  "("
42  ")" @end) @indent
43
Served at tenant.openagents/omega Member data and write actions are omitted.