Have tuareg mode set the compile command
to utilize corebuild via opam
This commit is contained in:
parent
7fafb2021f
commit
3d85f4014c
1 changed files with 3 additions and 1 deletions
|
@ -49,7 +49,9 @@
|
||||||
(add-hook 'tuareg-mode-hook (lambda ()
|
(add-hook 'tuareg-mode-hook (lambda ()
|
||||||
(progn
|
(progn
|
||||||
(define-key tuareg-mode-map (kbd "C-c C-s")
|
(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
|
;; Setup merlin completions company is used by default in prelude
|
||||||
(add-to-list 'company-backends 'merlin-company-backend)
|
(add-to-list 'company-backends 'merlin-company-backend)
|
||||||
|
|
Loading…
Reference in a new issue