When sorting import clauses across groups is enabled, SortScalaImports adds an empty line within multiline import clauses. To reproduce, let g:scala_sort_across_groups = 1 and add the following contents to a buffer:
import cats.data.{
Validated,
Xor
}
Then run :SortScalaImports, and the import clause will have an empty line added after the opening brace:
When sorting import clauses across groups is enabled,
SortScalaImports
adds an empty line within multiline import clauses. To reproduce,let g:scala_sort_across_groups = 1
and add the following contents to a buffer:Then run
:SortScalaImports
, and the import clause will have an empty line added after the opening brace:This is with
vim-scala
at https://github.com/derekwyatt/vim-scala/commit/0b909e24f31d94552eafae610da0f31040c08f2b and Neovim 0.3.1.