]> git.eshelyaron.com Git - emacs.git/commitdiff
Support ocaml-language-server out of the box ()
authorMario Rodas <marsam@users.noreply.github.com>
Wed, 7 Nov 2018 12:09:58 +0000 (07:09 -0500)
committerJoão Távora <joaotavora@gmail.com>
Wed, 7 Nov 2018 12:09:58 +0000 (12:09 +0000)
Copyright-paperwork-exempt: yes

* eglot.el (eglot-server-programs): Add ocaml-language-server.

* README.md (Installation and usage): Mention ocaml-language-server

GitHub-reference: https://github.com/joaotavora/eglot/issues/149

lisp/progmodes/eglot.el

index 0a789702c7d9e48723ca2003ccdee69a2104949d..2ce9d086e7f1e2fc50a2dfb7bd1982d4b3678a4e 100644 (file)
@@ -85,6 +85,8 @@
                                   rjsx-mode) . ("javascript-typescript-stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
                                 ((c++-mode c-mode) . ("ccls"))
+                                ((caml-mode tuareg-mode reason-mode)
+                                 . ("ocaml-language-server" "--stdio"))
                                 (ruby-mode
                                  . ("solargraph" "socket" "--port"
                                     :autoport))