aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-03-02 23:15:14 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-03-02 23:15:51 +0000
commitef59a1485240e85c65e452f8507e3da45a76c18c (patch)
treebe5926150c6eff1b4ee72ca7ea0d88f5afbd2bf9
parent5ee6c267a98ad873f15187a87247a93de873c5bd (diff)
downloaddotfiles-ef59a1485240e85c65e452f8507e3da45a76c18c.tar.gz
dotfiles-ef59a1485240e85c65e452f8507e3da45a76c18c.tar.bz2
dotfiles-ef59a1485240e85c65e452f8507e3da45a76c18c.zip
+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.
-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