Skip to content

Commit

Permalink
WIP: nvim indents
Browse files Browse the repository at this point in the history
  • Loading branch information
susliko committed Mar 25, 2024
1 parent e02f003 commit 4730b5b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions queries/scala/indents.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
(ERROR ":")
(template_body)
(indented_block)
(block)
(parameters)
(arguments)
(match_expression)
] @indent.begin


(arguments ")" @indent.end)

"}" @indent.end

[
")"
"]"
"}"
] @indent.branch

0 comments on commit 4730b5b

Please sign in to comment.