Open ajhager opened 8 years ago
Hi Joseph, I am working on multiple Elm projects and using two versions of elm-format
0.16 and 0.17. Suppose 0.18 is coming next week. So it will be three versions. ;)
Is there a nice way to run elm-format
from $(npm bin)
?
I just hard-coded it: https://github.com/romanzolotarev/elm-vim/commit/e0d18ef7372783f19369c5b781f47403853295a2
What would you recommend?
Looks like elm-format
can be installed via npm https://github.com/avh4/elm-format/pull/237 or even can become a part of Elm Platform https://github.com/avh4/elm-format/issues/84#issue-121988087 some day.
There is quite a bit of setup involved just to edit some elm code. elm-oracle, elm-test, elm-format, and even the elm-platform could easily be installed and updated from an editor command. Or at least prompt the user if the command isn't found.