We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa6c98 commit d57fd7cCopy full SHA for d57fd7c
emacs/ocamlformat.el
@@ -98,7 +98,7 @@ nil (default)."
98
99
\(add-hook \\='before-save-hook \\='ocamlformat-before-save)."
100
(interactive)
101
- (when (eq major-mode 'tuareg-mode) (ocamlformat)))
+ (when (memq major-mode '(tuareg-mode caml-mode)) (ocamlformat)))
102
103
(defun ocamlformat--goto-line (line)
104
"Move point to the line numbered LINE."
0 commit comments