We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae9db4b commit 40508bcCopy full SHA for 40508bc
queries/scala/indents.scm
@@ -0,0 +1,30 @@
1
+; These indent queries adhere to nvim-tree-sytter syntax.
2
+; See `nvim-tree-sitter-indentation-mod` vim help page.
3
+
4
+[
5
+ (template_body)
6
+ (block)
7
+ (parameters)
8
+ (arguments)
9
+ (match_expression)
10
+ (splice_expression)
11
+ (import_declaration)
12
+ (function_definition)
13
+ (ERROR ":")
14
+ (ERROR "=")
15
+ ("match")
16
+ (":")
17
+ ("=")
18
+] @indent.begin
19
20
+(arguments ")" @indent.end)
21
22
+"}" @indent.end
23
24
+"end" @indent.end
25
26
27
+ ")"
28
+ "]"
29
+ "}"
30
+] @indent.branch
0 commit comments