Skip to content

[feat/add-elm-format-options] #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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