Skip to content

Commit 4730b5b

Browse files
committed
WIP: nvim indents
1 parent e02f003 commit 4730b5b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

queries/scala/indents.scm

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[
2+
(ERROR ":")
3+
(template_body)
4+
(indented_block)
5+
(block)
6+
(parameters)
7+
(arguments)
8+
(match_expression)
9+
] @indent.begin
10+
11+
12+
(arguments ")" @indent.end)
13+
14+
"}" @indent.end
15+
16+
[
17+
")"
18+
"]"
19+
"}"
20+
] @indent.branch
21+

0 commit comments

Comments
 (0)