From 8cadcf0eceaa89cab97775e12159620164f19e6b Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Thu, 31 Oct 2024 05:25:48 -0600 Subject: [PATCH] configs/emacs: add ocaml stuff --- configs/emacs.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/configs/emacs.org b/configs/emacs.org index a6a41bb..d673be6 100644 --- a/configs/emacs.org +++ b/configs/emacs.org @@ -305,6 +305,21 @@ easier for me to treat it like a regular shell. * Language Configurations +** OCaml + +#+begin_src emacs-lisp + (use-package ocamlformat + :custom (ocamlformat-enable 'enable-outside-detected-project) + :hook (before-save . ocamlformat-before-save)) + + (use-package tuareg + :mode ("\\.ml$" . tuareg-mode)) + + (use-package merlin + :config + (add-hook 'tuareg-mode-hook #'merlin-mode)) +#+end_src + ** firewall stuff *** nftables