[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 1.2 1aeeb45 085/101: Support ocaml-language-server out of the box
From: |
Christian Johansson |
Subject: |
[elpa] 1.2 1aeeb45 085/101: Support ocaml-language-server out of the box (#149) |
Date: |
Thu, 29 Apr 2021 15:09:06 -0400 (EDT) |
tag: 1.2
commit 1aeeb45e6674d57951717b2188a565d47cee4a16
Author: Mario Rodas <marsam@users.noreply.github.com>
Commit: João Távora <joaotavora@gmail.com>
Support ocaml-language-server out of the box (#149)
Copyright-paperwork-exempt: yes
* eglot.el (eglot-server-programs): Add ocaml-language-server.
* README.md (Installation and usage): Mention ocaml-language-server
---
README.md | 3 ++-
eglot.el | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 38698dd..0d73d37 100644
--- a/README.md
+++ b/README.md
@@ -35,6 +35,7 @@ for the language of your choice. Otherwise, it prompts you to
enter one:
* Haskell's [IDE engine][haskell-ide-engine]
* Kotlin's [kotlin-language-server][kotlin-language-server]
* Golang's [go-langserver][go-langserver]
+* Ocaml's [ocaml-language-server][ocaml-language-server]
I'll add to this list as I test more servers. In the meantime you can
customize `eglot-server-programs`:
@@ -303,4 +304,4 @@ Under the hood:
[kotlin-language-server]: https://github.com/fwcd/KotlinLanguageServer
[go-langserver]: https://github.com/sourcegraph/go-langserver
[eclipse-jdt]: https://github.com/eclipse/eclipse.jdt.ls
-
+[ocaml-language-server]: https://github.com/freebroccolo/ocaml-language-server
diff --git a/eglot.el b/eglot.el
index 0a78970..2ce9d08 100644
--- a/eglot.el
+++ b/eglot.el
@@ -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))
- [elpa] 1.2 13d8da4 039/101: Fix textDocument/hover responses where MarkedString is a plist (#72), (continued)
- [elpa] 1.2 13d8da4 039/101: Fix textDocument/hover responses where MarkedString is a plist (#72), Christian Johansson, 2021/04/29
- [elpa] 1.2 cf4881c 081/101: Simplify eglot-code-action. Fix compilation warning, Christian Johansson, 2021/04/29
- [elpa] 1.2 0f8091f 082/101: Fix a bug when response to definitions request is a single location, Christian Johansson, 2021/04/29
- [elpa] 1.2 a81bb01 091/101: Tweak solution to #125 with a hint from Fangrui Song, Christian Johansson, 2021/04/29
- [elpa] 1.2 ba41ed8 099/101: Fix #167: correctly insert TextEdit-less snippets, Christian Johansson, 2021/04/29
- [elpa] 1.2 aa3de04 021/101: Require jsonrpc.el 1.0.2 (GNU ELPA didn't build 1.0.1), Christian Johansson, 2021/04/29
- [elpa] 1.2 7342d88 054/101: Close #115: Don't block kill-buffer-hook if server somehow hangs, Christian Johansson, 2021/04/29
- [elpa] 1.2 985ba0f 062/101: Improve signature help, Christian Johansson, 2021/04/29
- [elpa] 1.2 0509576 042/101: Improve snippet support, Christian Johansson, 2021/04/29
- [elpa] 1.2 97b9c06 065/101: Override eglot-execute-command for eclipse.jdt.ls server, Christian Johansson, 2021/04/29
- [elpa] 1.2 1aeeb45 085/101: Support ocaml-language-server out of the box (#149),
Christian Johansson <=
- [elpa] 1.2 e5738ff 094/101: Per #144: Format documentation of signature parameters, Christian Johansson, 2021/04/29
- [elpa] 1.2 e70be91 101/101: * eglot.el (Version): Bump to 1.2, Christian Johansson, 2021/04/29