File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # Outside bundle
2+ bundle agent main
3+ {
4+ # Inside bundle, outside promise type
5+ vars:
6+ # Inside promise type
7+ "some_var"
8+ if => "something",
9+ # Inside promise, next to attributes
10+ string => "value";
11+
12+ "some_list"
13+ slist => {
14+ "Strings that go in a list which would be long",
15+ # Comment inside list of elements
16+ "More strings",
17+ "More and more and more and more",
18+ };
19+
20+ # A class guard shifts everything over 2 spaces:
21+ class_guard::
22+ # Inside promise type
23+ "some_var"
24+ if => "something",
25+ # Inside promise, next to attributes
26+ string => "value";
27+ }
Original file line number Diff line number Diff line change 1+ # Outside bundle
2+ bundle agent main
3+ {
4+ # Inside bundle, outside promise type
5+ vars:
6+ # Inside promise type
7+ "some_var"
8+ if => "something",
9+ # Inside promise, next to attributes
10+ string => "value";
11+
12+ "some_list"
13+ slist => {
14+ "Strings that go in a list which would be long",
15+ # Comment inside list of elements
16+ "More strings",
17+ "More and more and more and more",
18+ };
19+
20+ # A class guard shifts everything over 2 spaces:
21+ class_guard::
22+ # Inside promise type
23+ "some_var"
24+ if => "something",
25+ # Inside promise, next to attributes
26+ string => "value";
27+ }
You can’t perform that action at this time.
0 commit comments