mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/ocaml: refactor
This commit is contained in:
@ -1,14 +1,10 @@
|
|||||||
;;; lang/ocaml/config.el
|
;;; lang/ocaml/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(def-package! tuareg
|
(def-package! tuareg
|
||||||
:mode (("\\.ml$" . tuareg-mode)
|
:mode ("\\.ml[ly]?$" . tuareg-mode))
|
||||||
("\\.mll$" . tuareg-mode)
|
|
||||||
("\\.mly$" . tuareg-mode))
|
|
||||||
:config
|
|
||||||
)
|
|
||||||
|
|
||||||
(def-package! merlin
|
(def-package! merlin
|
||||||
:after tuareg
|
:after tuareg
|
||||||
:config
|
:config
|
||||||
(add-hook! 'tuareg-mode-hook #'merlin-mode)
|
(add-hook 'tuareg-mode-hook #'merlin-mode))
|
||||||
)
|
|
||||||
|
Reference in New Issue
Block a user