ocaml: don't auto-close backticks

they are used for polymorphic variants, like `Foo
This commit is contained in:
Török Edwin 2015-06-02 19:37:34 +03:00 committed by syl20bnr
parent 073c58ca2d
commit 2bbcf8af76

View file

@ -95,8 +95,9 @@
"mcc" 'compile))
:config
(when (fboundp 'sp-local-pair)
;; don't auto-close apostrophes (type 'a = foo)
(sp-local-pair 'tuareg-mode "'" nil :actions nil))))
;; don't auto-close apostrophes (type 'a = foo) and backticks (`Foo)
(sp-local-pair 'tuareg-mode "'" nil :actions nil)
(sp-local-pair 'tuareg-mode "`" nil :actions nil))))
(defun ocaml/init-utop ()
(use-package utop