doomemacs/modules/lang/ocaml/packages.el
Rudi Grinberg b19178280d lang/ocaml: disable merlin when lsp is active (#1939)
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 01:38:13 -04:00

25 lines
728 B
EmacsLisp

;; -*- no-byte-compile: t; -*-
;;; lang/ocaml/packages.el
(package! tuareg)
(unless (featurep! +lsp)
(package! merlin)
(package! merlin-eldoc)
(when (featurep! :tools flycheck)
(package! flycheck-ocaml)))
(package! ocp-indent)
(when (featurep! :tools eval)
(package! utop))
(when (featurep! :editor format)
;; by default quelpa generated a version 0pre0.20180929.192844, which got
;; parsed into (0 -1 0 ...), which when compared with version nil (0) in
;; package-installed-p always yielded false
(package! ocamlformat :recipe
(:host github :repo "ocaml-ppx/ocamlformat" :files ("emacs/*.el"))))
(package! dune :recipe
(:host github :repo "ocaml/dune" :files ("editor-integration/emacs/*.el")))