aboutsummaryrefslogtreecommitdiff
path: root/config/emacs/emacs.d/lisp/init-ocaml.el
blob: 983e7c9ba04a44ad3b5b6039ba9361501bdf8fa8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; init-ocaml --- ocaml/tuareg configuration and seutp
;;; Commentary:
;;; Since tuareg is not yet in nixpkgs, clone to `site-lisp' directory.
;;; pushd ~/.config/emacs/site-lisp/ && git clone git://github.com/ocaml/tuareg.git
;;; Code:

(defvar tuareg)

(use-package tuareg
  :init
  (defun kb/ocaml-mode ()
    (lsp-mode)
    (lsp-deferred))
  :hook (tuareg-mode-hook . kb/ocaml-mode))

(provide 'init-ocaml)
;;; init-ocaml.el ends here