aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md3
-rw-r--r--apheleia-formatters.el5
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)