diff options
| author | Abhishek Singh <abhisheksingh0x558@icloud.com> | 2025-02-04 00:43:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-03 11:13:25 -0800 |
| commit | 39af130945b9a54d405a490748bac992460514d4 (patch) | |
| tree | a94e0ca1b33172352c0a6602d1a954fedebd6adf | |
| parent | e112fe1bf4fdaef1c9ab741590ac45b06dc01f76 (diff) | |
Update haskell formatters (#349)
Co-authored-by: Abhishek Singh <abhisheksingh0x558@proton.me>
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | apheleia-formatters.el | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 37b24c7..3f9769f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,9 @@ The format is based on [Keep a Changelog]. * `biome` ([#339]). * `gdformat` for [gdscript](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_basics.html) ([#342]). * `prettier-json-stringify` ([#183]). +* Fix `foumolu` arguements +* Both `haskell-mode` and the newly added + `haskell-ts-mode` buffers are formatted with `fourmolu` ### Internal * You can run the formatter tests locally with podman instead of diff --git a/apheleia-formatters.el b/apheleia-formatters.el index 95f663d..43bc7bc 100644 --- a/apheleia-formatters.el +++ b/apheleia-formatters.el @@ -63,7 +63,7 @@ (dprint . ("dprint" "fmt" "--stdin" filepath)) (elm-format . ("elm-format" "--yes" "--stdin")) (fish-indent . ("fish_indent")) - (fourmolu . ("fourmolu")) + (fourmolu . ("fourmolu" "--stdin-input-file" filepath)) (gawk . ("gawk" "-f" "-" "--pretty-print=-")) (gdformat . ("gdformat" "-")) (gleam . ("gleam" "format" "--stdin")) @@ -336,7 +336,8 @@ rather than using this system." (go-mode . gofmt) (go-ts-mode . gofmt) (graphql-mode . prettier-graphql) - (haskell-mode . ormolu) + (haskell-mode . fourmolu) + (haskell-ts-mode . fourmolu) (hcl-mode . hclfmt) (html-mode . prettier-html) (html-ts-mode . prettier-html) |
