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:
parent
b343f238fa
commit
bdeb02ddc2
1 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,9 @@
|
||||||
(setq-hook! 'tuareg-mode-hook
|
(setq-hook! 'tuareg-mode-hook
|
||||||
comment-line-break-function #'+ocaml/comment-indent-new-line)
|
comment-line-break-function #'+ocaml/comment-indent-new-line)
|
||||||
|
|
||||||
|
(map! :localleader
|
||||||
|
:map tuareg-mode-map
|
||||||
|
"a" #'tuareg-find-alternate-file)
|
||||||
|
|
||||||
(use-package! utop
|
(use-package! utop
|
||||||
:when (featurep! :tools eval)
|
:when (featurep! :tools eval)
|
||||||
|
@ -57,8 +60,7 @@
|
||||||
|
|
||||||
(map! :localleader
|
(map! :localleader
|
||||||
:map tuareg-mode-map
|
:map tuareg-mode-map
|
||||||
"t" #'merlin-type-enclosing
|
"t" #'merlin-type-enclosing)
|
||||||
"a" #'tuareg-find-alternate-file)
|
|
||||||
|
|
||||||
(use-package! flycheck-ocaml
|
(use-package! flycheck-ocaml
|
||||||
:when (featurep! :tools flycheck)
|
:when (featurep! :tools flycheck)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue