treefmt/examples/haskell/treefmt.toml
Andika Demas Riyandi ca59a61d0c
Always expanding the path given in the treefmt.toml (#107)
* add cabal-fmt formatter

* always expand the path provided in treefmt.toml

* adding */ format in expanding path for string

* adding unit test for expand_if_path function

* Update src/lib.rs

* revert treefmt.toml

Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2021-05-06 10:02:32 +02:00

10 lines
238 B
TOML

[formatter.haskell]
command = "ormolu"
options = [
"--ghc-opt", "-XBangPatterns",
"--ghc-opt", "-XPatternSynonyms",
"--ghc-opt", "-XTypeApplications",
"--mode", "inplace",
"--check-idempotence",
]
includes = ["Foo.hs"]