mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user