This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/lang/ocaml/packages.el
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00

43 lines
993 B
EmacsLisp

;;; packages.el --- ocaml Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2014 Sylvain Benner
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
;;
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
(setq ocaml-packages
'(
tuareg
merlin
;; flycheck
;; flycheck-ocaml
;; package ocamls go here
))
(defun ocaml/init-tuareg ()
(add-hook 'tuareg-mode-hook #'merlin-mode)
)
(defun ocaml/init-merlin ())
;; (defun ocaml/init-flycheck-ocaml ()
;; (progn
;; (setq merlin-error-after-save nil)
;; (flycheck-ocaml-setup)
;; )
;; )
;; For each package, define a function ocaml/init-<package-ocaml>
;;
;; (defun ocaml/init-my-package ()
;; "Initialize my package"
;; )
;;
;; Often the body of an initialize function uses `use-package'
;; For more info on `use-package', see readme:
;; https://github.com/jwiegley/use-package