mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
27 lines
464 B
Scheme
27 lines
464 B
Scheme
[
|
|
(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
|
|
|
|
[ "(" ")" ] @indent.branch
|
|
|
|
[ "[" "]" ] @indent.branch
|
|
|
|
[
|
|
(ERROR)
|
|
(comment)
|
|
] @indent.auto
|