lang/ocaml: refactor

This commit is contained in:
Henrik Lissner 2017-06-27 22:58:38 +02:00
parent 5ebda9b0c6
commit 94f9d05c3a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -1,14 +1,10 @@
;;; lang/ocaml/config.el
;;; lang/ocaml/config.el -*- lexical-binding: t; -*-
(def-package! tuareg
:mode (("\\.ml$" . tuareg-mode)
("\\.mll$" . tuareg-mode)
("\\.mly$" . tuareg-mode))
:config
)
:mode ("\\.ml[ly]?$" . tuareg-mode))
(def-package! merlin
:after tuareg
:config
(add-hook! 'tuareg-mode-hook #'merlin-mode)
)
(add-hook 'tuareg-mode-hook #'merlin-mode))