tree-sitter-scala icon indicating copy to clipboard operation
tree-sitter-scala copied to clipboard

WIP: nvim indents

Open susliko opened this issue 1 year ago • 1 comments

Sharing queries for proper indents (also fixes problem descirbed in #173). I'm going to use them for a while and polish before merging

cc @keynmol

susliko avatar Mar 10 '24 21:03 susliko

TODO list:

  • [ ] Nested definitions with no braces
object Foo:
  class Bar:<cr>

  • [ ] Ending indents on "end"
object Foo:
  en<d>

  • [ ] Match expression with no braces
def foo(x: Int) = 
  x match <cr>

susliko avatar Mar 25 '24 20:03 susliko