derekwyatt / vim-scala

My work on integration of Scala into Vim - not a ton here, but useful for me.
http://derekwyatt.org
Apache License 2.0
1.09k stars 144 forks source link

Handle when there is only one or no "import" #128

Closed novln closed 8 years ago

novln commented 8 years ago

Hello,

I love automation, unfortunately when a scala file has only one import, or none, there is a bug with SortScalaImports.

This pull request should do the tricks, works fine with me.

Cheers,

derekwyatt commented 8 years ago

Thanks!