Redefine C-c C-s to run utop
Instead of tuareg-run-ocaml. This avoids the problems described in issue #626. Nominally fixes #626.
This commit is contained in:
parent
6bbcd438ae
commit
17d56f668d
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@
|
||||||
(add-hook 'tuareg-mode-hook 'utop-setup-ocaml-buffer)
|
(add-hook 'tuareg-mode-hook 'utop-setup-ocaml-buffer)
|
||||||
(add-hook 'tuareg-mode-hook 'merlin-mode)
|
(add-hook 'tuareg-mode-hook 'merlin-mode)
|
||||||
|
|
||||||
|
(add-hook 'tuareg-mode-hook (lambda ()
|
||||||
|
(progn
|
||||||
|
(define-key tuareg-mode-map (kbd "C-c C-s")
|
||||||
|
'utop))))
|
||||||
|
|
||||||
;; 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