File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
[
2
2
(atom)
3
3
(string)
4
+ (symbol)
4
5
(doc_string)
6
+ (reference)
5
7
] @leaf
6
8
7
9
; All named nodes can be interleaved by empty lines
10
12
[
11
13
(atom)
12
14
(comment)
13
- (module_identifier)
15
+ (def_identifier)
16
+ (doc_string)
14
17
(module_governance)
18
+ (module_identifier)
19
+ (reference)
15
20
(string)
16
- (doc_string)
17
- (def_identifier)
21
+ (symbol)
18
22
] @prepend_space @append_space
19
23
24
+ [
25
+ (interface)
26
+ (module)
27
+ (namespace)
28
+ (s_expression)
29
+ (use)
30
+ ] @append_hardline
31
+
20
32
(comment) @append_hardline
21
33
22
34
; Remove spaces following opening/preceding closing parens in all sexprs
91
103
"]" @prepend_empty_softline @prepend_indent_end
92
104
)
93
105
106
+ (list "," @append_spaced_softline )
107
+
94
108
; Constant definitions
95
109
; Start the indentation block after the value
96
110
(defconst
You can’t perform that action at this time.
0 commit comments