Variable: neocaml-format-on-save
neocaml-format-on-save is a customizable variable defined in
neocaml.el.
Value
nil
Documentation
When non-nil, format the buffer with ocamlformat before saving.
Only applies in neocaml-mode and neocaml-interface-mode buffers.
This variable was added, or its default value changed, in neocaml version 0.9.0.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
(defcustom neocaml-format-on-save nil
"When non-nil, format the buffer with `ocamlformat' before saving.
Only applies in `neocaml-mode' and `neocaml-interface-mode' buffers."
:type 'boolean
:safe #'booleanp
:group 'neocaml
:package-version '(neocaml . "0.9.0"))