This commit is contained in:
Zelong Kuang
2025-12-17 03:55:28 +11:00
parent 286d4d6832
commit 0d833adbfe
3 changed files with 19 additions and 0 deletions

16
lisp/init-ocaml.el Normal file
View File

@@ -0,0 +1,16 @@
;; -*- lexical-binding: t; -*-
(use-package tuareg
:ensure t
:mode (("\\.ocamlinit\\'" . tuareg-mode)))
(use-package ocaml-eglot
:ensure t
:after tuareg
:hook
(tuareg-mode . ocaml-eglot)
(ocaml-eglot . eglot-ensure))
(provide 'init-ocaml)