aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/config.org10
-rw-r--r--doom.d/modules/packages.org4
2 files changed, 13 insertions, 1 deletions
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