From ef59a1485240e85c65e452f8507e3da45a76c18c Mon Sep 17 00:00:00 2001 From: AChavali Date: Mon, 2 Mar 2020 23:15:14 +0000 Subject: +basic ocaml support without the ocaml module The ocaml module doesn't really work properly as of right now, so I'm using my own version. --- doom.d/modules/config.org | 10 +++++++++- doom.d/modules/packages.org | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org index 3a5ac96..b186bb2 100644 --- a/doom.d/modules/config.org +++ b/doom.d/modules/config.org @@ -162,7 +162,6 @@ Set-up config for ivy-posframe, particularly for positions (oreodave/themes/set-new-theme . ivy-posframe-display-at-frame-bottom-window-center) (counsel-bookmark . ivy-posframe-display-at-frame-bottom-window-center)))) #+END_SRC - * Language Config ** C-style languages Emacs doesn't have the full range of styles that I want, so lemme just do it myself. @@ -358,6 +357,15 @@ each of the unit tests ran." (after! (haskell-mode dante) (setq dante-repl-command-line '("stack" "ghci"))) #+END_SRC +** Ocaml +Added ocaml-lsp support. +#+BEGIN_SRC elisp +(after! lsp + (lsp-register-client + (make-lsp-client :new-connection (lsp-stdio-connection "ocamllsp") + :major-modes '(tuareg-mode) + :server-id 'ocaml-lsp))) +#+END_SRC * Keymap General keymap for leader ** Personal diff --git a/doom.d/modules/packages.org b/doom.d/modules/packages.org index 9ded568..ca8309e 100644 --- a/doom.d/modules/packages.org +++ b/doom.d/modules/packages.org @@ -52,3 +52,7 @@ Auto complete is essential to make the ultimate IDE experience™. Thus, company #+BEGIN_SRC elisp (package! company-arduino) #+END_SRC +** Ocaml +#+BEGIN_SRC elisp +(package! tuareg) +#+END_SRC -- cgit v1.2.3-13-gbd6f