diff options
| author | Radon Rosborough <radon.neon@gmail.com> | 2020-02-19 22:46:52 -0800 |
|---|---|---|
| committer | Radon Rosborough <radon.neon@gmail.com> | 2020-02-19 22:47:09 -0800 |
| commit | 8e99a67cc185db01298a282e0d24277249bcfab8 (patch) | |
| tree | 9fbe0ac90501b2857392fe81cdff4f37ca924841 | |
| parent | 76f0d946e7c860dbd1382828c2858b36bd06d507 (diff) | |
Configure brittany for haskell
| -rw-r--r-- | apheleia.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apheleia.el b/apheleia.el index 968b8f9..5740474 100644 --- a/apheleia.el +++ b/apheleia.el @@ -445,7 +445,8 @@ modified from what is written to disk, then don't do anything." '((black . ("black" "-")) (prettier . (npx "prettier" file)) (gofmt . ("gofmt")) - (terraform . ("terraform" "fmt" "-"))) + (terraform . ("terraform" "fmt" "-")) + (brittany . ("brittany" file))) "Alist of code formatting commands. The keys may be any symbols you want, and the values are 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) (web-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. This determines what formatter to use in buffers without a setting for `apheleia-formatter'. The keys are major mode |
