emacs: Add OCaml support

This commit is contained in:
Erwin Boskma 2024-09-12 14:53:13 +02:00
parent 71da8bd68a
commit 5e8080c5ec
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -1646,6 +1646,24 @@ Highlighting for device tree configuration.
(use-package dts-mode)
#+end_src
*** OCaml
[[https://github.com/ocaml/tuareg][Tuareg]] is the recommended OCaml mode
#+begin_src emacs-lisp
(use-package tuareg)
#+end_src
[[https://github.com/ocaml/merlin][Merlin]] adds context-sensitive completion
#+begin_src emacs-lisp
(use-package merlin
:init (setq merlin-command "ocamlmerlin")
:hook (tuareg-mode . merlin-mode))
#+end_src
* Org
** Main org setup