Merge pull request #1894 from rgrinberg/fix-tuareg-binding

lang/ocaml: decouple tuareg-find-alternate-file from merlin
This commit is contained in:
Henrik Lissner 2019-10-14 02:34:57 -04:00 committed by GitHub
commit 67646ed2ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)