Fix tuareg-find-alternate-file binding

This binding should be available whenever tuareg is loaded. Previously,
it would loaded only after merlin.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2019-10-13 20:36:49 +09:00
parent b343f238fa
commit bdeb02ddc2

View file

@ -25,6 +25,9 @@
(setq-hook! 'tuareg-mode-hook
comment-line-break-function #'+ocaml/comment-indent-new-line)
(map! :localleader
:map tuareg-mode-map
"a" #'tuareg-find-alternate-file)
(use-package! utop
:when (featurep! :tools eval)
@ -57,8 +60,7 @@
(map! :localleader
:map tuareg-mode-map
"t" #'merlin-type-enclosing
"a" #'tuareg-find-alternate-file)
"t" #'merlin-type-enclosing)
(use-package! flycheck-ocaml
:when (featurep! :tools flycheck)