jcollard / elm-mode

Elm mode for emacs
GNU General Public License v3.0
373 stars 67 forks source link

Avoid modifying the buffer if imports are already sorted #97

Closed Menschenkindlein closed 7 years ago

Menschenkindlein commented 7 years ago

Current version of elm-sort-imports kills the region and inserts sorted imports even if there is nothing to change.

Also includes the change, suggested in #96, as the changes are in the same place.

jcollard commented 7 years ago

Thanks!