ocaml: don't auto-close backticks
they are used for polymorphic variants, like `Foo
This commit is contained in:
parent
073c58ca2d
commit
2bbcf8af76
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue