diff options
| author | Brian Leung <29217594+leungbk@users.noreply.github.com> | 2020-07-12 08:31:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-12 09:31:43 -0600 |
| commit | 9cf703544d110aa5e24df1783775c2cb8606b03c (patch) | |
| tree | 5d5a515c69500b29939b056b6008dd5f0173a9d7 | |
| parent | 6bd69671796c3d232ffae42df6eecba4eb1f7cd2 (diff) | |
Add ocamlformat (#19)
| -rw-r--r-- | apheleia.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apheleia.el b/apheleia.el index 0d1b442..8bc8531 100644 --- a/apheleia.el +++ b/apheleia.el @@ -455,6 +455,7 @@ modified from what is written to disk, then don't do anything." (brittany . ("brittany" file)) (prettier . (npx "prettier" file)) (gofmt . ("gofmt")) + (ocamlformat . ("ocamlformat" file)) (terraform . ("terraform" "fmt" "-"))) "Alist of code formatting commands. The keys may be any symbols you want, and the values are @@ -481,6 +482,7 @@ commands, lists of strings and symbols, in the format of (web-mode . prettier) (yaml-mode . prettier) (terraform-mode . terraform) + (tuareg-mode . ocamlformat) (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 |
