tfausak / purple-yolk

:hatching_chick: A Haskell IDE for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=taylorfausak.purple-yolk
MIT License
26 stars 2 forks source link

Improve formatter config #49

Closed tfausak closed 9 months ago

tfausak commented 9 months ago

The only functional change here is how the Haskell formatter is selected when the mode is "discover". Previously it would prefer Ormolu to Fourmolu. Now it will look for their corresponding config files (.ormolu and fourmolu.yaml) and select the appropriate formatter based on that. This is similar to how the interpreter is selected.