Add OCaml binding to indent buffer with ocp-indent
This commit is contained in:
parent
bef3f838fd
commit
e70796882d
|
@ -76,7 +76,9 @@
|
||||||
(use-package ocp-indent
|
(use-package ocp-indent
|
||||||
:defer t
|
:defer t
|
||||||
:init
|
:init
|
||||||
(add-hook 'tuareg-mode-hook 'ocp-indent-caml-mode-setup)))
|
(add-hook 'tuareg-mode-hook 'ocp-indent-caml-mode-setup)
|
||||||
|
(spacemacs/set-leader-keys-for-major-mode 'tuareg-mode
|
||||||
|
"=" 'ocp-indent-buffer)))
|
||||||
|
|
||||||
(defun ocaml/post-init-smartparens ()
|
(defun ocaml/post-init-smartparens ()
|
||||||
(with-eval-after-load 'smartparens
|
(with-eval-after-load 'smartparens
|
||||||
|
|
Loading…
Reference in a new issue