Skip to content

Conversation

megalithic
Copy link

Adds ability to pass in command-line options to elm-format (:ElmFormat).

This is useful, to set the --elm-version option for 0.18 users, for instance. Let me know if this makes more sense to just have an explicit option like g:elm_format_version for this, so it doesn't interfere with the order of operations for the temp file creation and output.

Adds ability to pass in command-line options to `elm-format` (:ElmFormat)
@michaeljones
Copy link

Hi, thank you for contributing this! Interesting to see. I just wanted to check though as I thought that maybe the most recent versions of elm-format automatically detected the required version anyway? Based off whether there is an elm.json or an elm-package.json file? Is that not the case? Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants