]> git.eshelyaron.com Git - emacs.git/commitdiff
Switch default langserver for ocaml to ocamllsp
authorSteve Purcell <steve@sanityinc.com>
Sun, 25 Apr 2021 22:51:44 +0000 (10:51 +1200)
committerGitHub <noreply@github.com>
Sun, 25 Apr 2021 22:51:44 +0000 (23:51 +0100)
The repo for ocaml-language-server has been archived and inactive
for quite some time:

   https://github.com/ocaml-lsp/ocaml-language-server

Meanwhile, ocaml-lsp is the generally-preferred option, and is actively
maintained in the ocaml org itself:

   https://github.com/ocaml/ocaml-lsp/

* eglot.el (eglot-server-programs): switch caml-mode  entry.

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

lisp/progmodes/eglot.el

index 3373be2256c782fe75e71f8e54184b0e1204eaf4..3348054264b7583c6f20288aefc6a31dc7c0d094 100644 (file)
 language-server/bin/php-language-server.php"))
                                 ((c++-mode c-mode) . ("ccls"))
                                 ((caml-mode tuareg-mode reason-mode)
-                                 . ("ocaml-language-server" "--stdio"))
+                                 . ("ocamllsp"))
                                 (ruby-mode
                                  . ("solargraph" "socket" "--port" :autoport))
                                 (haskell-mode