ocaml: various tweaks

This commit is contained in:
Török Edwin 2015-04-18 22:00:27 +03:00 committed by syl20bnr
parent 54f5179a83
commit 626b4d644c
2 changed files with 7 additions and 2 deletions

View file

@ -39,11 +39,13 @@ Optional configuration layers supported:
This layer requires some [opam](http://opam.ocaml.org) packages:
- `merlin`
- `utop`
- `ocp-indent`
To install them, use the following command:
```sh
opam install merlin
opam install merlin utop ocp-indent
```
## Key Bindings

View file

@ -27,6 +27,10 @@
(evil-leader/set-key-for-mode 'tuareg-mode
"mcc" 'compile
)
;; don't auto-close apostrophes (type 'a = foo)
(when (fboundp 'sp-local-pair)
(sp-local-pair 'tuareg-mode "'" nil :actions nil)
)
)
(defun ocaml/opam ()
@ -75,7 +79,6 @@
(defun ocaml/init-ocp-indent ()
(use-package ocp-indent
:defer t
:init
(ocaml/opam)
)