diff --git a/modules/prelude-ocaml.el b/modules/prelude-ocaml.el index 2514a00..54f2dc2 100644 --- a/modules/prelude-ocaml.el +++ b/modules/prelude-ocaml.el @@ -49,7 +49,9 @@ (add-hook 'tuareg-mode-hook (lambda () (progn (define-key tuareg-mode-map (kbd "C-c C-s") - 'utop)))) + 'utop) + (setq compile-command + "opam config exec \"corebuild \"")))) ;; Setup merlin completions company is used by default in prelude (add-to-list 'company-backends 'merlin-company-backend)