aboutsummaryrefslogtreecommitdiff
path: root/doom.d/modules/config.org
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 /doom.d/modules/config.org
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.
Diffstat (limited to 'doom.d/modules/config.org')
-rw-r--r--doom.d/modules/config.org10
1 files changed, 9 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