blob: 515795021daaf549e304a7e932e088c4d387258f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
[
(ast_block)
(array)
(expr)
(json_array)
(json_object)
(parenthesized_expression)
] @indent.begin
; TODO: can't get this to work, goal is to indent at the property ":" prefix
; ((list (identifier) (property)) @indent.align
; (#set! indent.open_delimiter "(")
; (#set! indent.close_delimiter ")"))
[
")"
"}"
"]"
] @indent.end @indent.branch
; I do not know what/when this should be added.
; Commenting this out for now
; [
; "("
; "{"
; "["
; ] @indent.branch
[
(ERROR)
(comment)
] @indent.auto
|