+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.
This commit is contained in:
AChavali
2020-03-02 23:15:14 +00:00
parent 5ee6c267a9
commit ef59a14852
2 changed files with 13 additions and 1 deletions

View File

@@ -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

View File

@@ -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