:feature was a "catch-all" category. Many of its modules fit better in other categories, so they've been moved: - feature/debugger -> tools/debugger - feature/evil -> editor/evil - feature/eval -> tools/eval - feature/lookup -> tools/lookup - feature/snippets -> editor/snippets - feature/file-templates -> editor/file-templates - feature/workspaces -> ui/workspaces More potential changes in the future: - A new :term category for terminal emulation modules (eshell, term and vterm). - A new :os category for modules dedicated to os-specific functionality. The :tools macos module would fit here, but so would modules for nixos and arch. - A new :services category for web-service integration, like wakatime, twitter, elfeed, gist and pastebin services.
33 lines
1.1 KiB
EmacsLisp
33 lines
1.1 KiB
EmacsLisp
;; -*- no-byte-compile: t; -*-
|
|
;;; lang/ocaml/packages.el
|
|
|
|
(package! tuareg)
|
|
(package! merlin)
|
|
(package! merlin-eldoc)
|
|
(package! ocp-indent)
|
|
|
|
(when (featurep! :tools flycheck)
|
|
(package! flycheck-ocaml))
|
|
|
|
(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 (:fetcher github :repo "ocaml-ppx/ocamlformat" :files ("emacs/*.el"))))
|
|
|
|
(package! dune :recipe (:fetcher github :repo "ocaml/dune" :files ("editor-integration/emacs/*.el")))
|
|
|
|
|
|
;; (defvar +ocaml-elisp-dir
|
|
;; (when (executable-find "opam")
|
|
;; (let ((opam-share (ignore-errors (car (process-lines "opam" "config" "var" "share" "--safe")))))
|
|
;; (when (and opam-share (file-directory-p opam-share))
|
|
;; (expand-file-name "emacs/site-lisp" opam-share)))))
|
|
;;
|
|
;; (defmacro localpackage! (name)
|
|
;; `(package! ,name :recipe (:fetcher file :path ,+ocaml-elisp-dir)))
|
|
;;
|
|
;; (localpackage! opam-site-lisp)
|