emacs: Add OCaml support
This commit is contained in:
parent
71da8bd68a
commit
5e8080c5ec
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue