mirror of
https://github.com/vale981/apheleia
synced 2025-03-05 09:31:40 -05:00
Configure brittany for haskell
This commit is contained in:
parent
76f0d946e7
commit
8e99a67cc1
1 changed files with 4 additions and 2 deletions
|
@ -445,7 +445,8 @@ modified from what is written to disk, then don't do anything."
|
||||||
'((black . ("black" "-"))
|
'((black . ("black" "-"))
|
||||||
(prettier . (npx "prettier" file))
|
(prettier . (npx "prettier" file))
|
||||||
(gofmt . ("gofmt"))
|
(gofmt . ("gofmt"))
|
||||||
(terraform . ("terraform" "fmt" "-")))
|
(terraform . ("terraform" "fmt" "-"))
|
||||||
|
(brittany . ("brittany" file)))
|
||||||
"Alist of code formatting commands.
|
"Alist of code formatting commands.
|
||||||
The keys may be any symbols you want, and the values are
|
The keys may be any symbols you want, and the values are
|
||||||
commands, lists of strings and symbols, in the format of
|
commands, lists of strings and symbols, in the format of
|
||||||
|
@ -470,7 +471,8 @@ commands, lists of strings and symbols, in the format of
|
||||||
(typescript-mode . prettier)
|
(typescript-mode . prettier)
|
||||||
(web-mode . prettier)
|
(web-mode . prettier)
|
||||||
(yaml-mode . prettier)
|
(yaml-mode . prettier)
|
||||||
(terraform-mode . terraform))
|
(terraform-mode . terraform)
|
||||||
|
(haskell-mode . brittany))
|
||||||
"Alist mapping major mode names to formatters to use in those modes.
|
"Alist mapping major mode names to formatters to use in those modes.
|
||||||
This determines what formatter to use in buffers without a
|
This determines what formatter to use in buffers without a
|
||||||
setting for `apheleia-formatter'. The keys are major mode
|
setting for `apheleia-formatter'. The keys are major mode
|
||||||
|
|
Loading…
Add table
Reference in a new issue