feat(emacs): add ocaml and rust configs
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
7e8f372744
commit
858ecd3818
2 changed files with 25 additions and 0 deletions
9
.emacs.d/include/ocamlconfig.el
Normal file
9
.emacs.d/include/ocamlconfig.el
Normal file
|
@ -0,0 +1,9 @@
|
|||
;;; ocamlconfig.el --- Configuration for OCaml and Tuareg
|
||||
;;; Commentary:
|
||||
;;; Code:
|
||||
|
||||
(add-hook 'tuareg-mode-hook #'flycheck-ocaml-setup)
|
||||
(add-hook 'tuareg-mode-hook #'(lambda () (merlin-mode -1)))
|
||||
(setq utop-command "opam exec -- dune utop . -- -emacs")
|
||||
|
||||
;;; ocamlconfig.el ends here
|
Loading…
Add table
Add a link
Reference in a new issue