Function: neocaml-mode
neocaml-mode is an interactive and natively compiled function defined
in neocaml.el.
Signature
(neocaml-mode)
Documentation
Major mode for editing OCaml code.
C-M-u neocaml-backward-up-list
C-c 4 C-a ff-find-other-file-other-window
C-c C-a ff-find-other-file
C-c C-c compile
C-c C-f neocaml-format-buffer
In addition to any hooks its parent mode neocaml-base-mode might
have run, this mode runs the hook neocaml-mode-hook, as the final or
penultimate step during initialization.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/ahssdx4rwzyxhyhavpn0bkznk13xrggi-emacs-packages-deps/share/emacs/site-lisp/elpa/neocaml-20260907.2015/neocaml.el
;;;###autoload
(define-derived-mode neocaml-mode neocaml-base-mode "OCaml"
"Major mode for editing OCaml code.
\\{neocaml-base-mode-map}"
(setq-local treesit-simple-imenu-settings neocaml--imenu-settings)
(neocaml--setup-mode 'ocaml))