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

Removes duplicate imports, and puts field-imports at the bottom. #153

Open NightWhistler opened 6 years ago

NightWhistler commented 6 years ago

Basically 2 small changes that I found useful in my Scala coding:

  1. An extra category for imports of fields from an object. So import MyObject._
  2. Added a uniq call after sorting so it automatically removes duplicate imports.