Function: neocaml-cycle-indent-function
neocaml-cycle-indent-function is an interactive and natively compiled
function defined in neocaml.el.
Signature
(neocaml-cycle-indent-function)
Documentation
Cycle between treesit-indent and indent-relative for indentation.
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
(defun neocaml-cycle-indent-function ()
"Cycle between `treesit-indent' and `indent-relative' for indentation."
(interactive)
(if (eq indent-line-function 'treesit-indent)
(progn (setq indent-line-function #'indent-relative)
(message "[neocaml] Switched indentation to indent-relative"))
(setq indent-line-function #'treesit-indent)
(message "[neocaml] Switched indentation to treesit-indent")))