Skip to content

Commit

Permalink
Add ocamlformat (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
leungbk authored Jul 12, 2020
1 parent 6bd6967 commit 9cf7035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apheleia.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9cf7035

Please sign in to comment.