From 8e99a67cc185db01298a282e0d24277249bcfab8 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Wed, 19 Feb 2020 22:46:52 -0800 Subject: Configure brittany for haskell --- apheleia.el | 6 ++++-- 1 file 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 -- cgit v1.0