Closed mariusbutuc closed 7 years ago
@sentience are the current changes good for a merge and release?
Thank you @mariusbutuc! Just waiting for #17 to land and then I’ll release a new version of the package.
PS: An alternative (simpler?) to this is to create a symlink:
$ ln -s /usr/local/bin/elm-format-0.18 /usr/local/bin/elm-format
Problem
Sometimes, the
elm-format
binary can have a different name. As an example, installingelm-format
via homebrew exposes bothelm-format-0.17
andelm-format-0.18
, but noelm-format
.Solution
Provide the
elm_format_binary
setting in the Elm Language Support User settings that allows for the customelm-format
binary name to be declared. An example might beP.S.
Naming things is hard… Not married to the
elm_format_binary
name for such setting. If one can think of one that better conveys intent, I'd be happy to swap them. :v: