[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot b2e4687 29/54: Close #376: add metals as the lang
From: |
João Távora |
Subject: |
[elpa] externals/eglot b2e4687 29/54: Close #376: add metals as the language server for Scala |
Date: |
Thu, 16 Apr 2020 05:31:49 -0400 (EDT) |
branch: externals/eglot
commit b2e4687849679b49780b992bf153cd7ca86b55df
Author: Antoine Kalmbach <address@hidden>
Commit: João Távora <address@hidden>
Close #376: add metals as the language server for Scala
* README.md (Connecting to a server): Add metals to the list
* eglot.el (eglot-server-programs): Add metals for scala-mode
Copyright-paperwork-exempt: yes
---
README.md | 2 ++
eglot.el | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 231266e..63377d9 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,7 @@ for the language you're using. Otherwise, it prompts you to
enter one.
* Dart's [dart_language_server][dart_language_server]
* Elixir's [elixir-ls][elixir-ls]
* Ada's [ada_language_server][ada_language_server]
+* Scala's [metals][metals]
I'll add to this list as I test more servers. In the meantime you can
customize `eglot-server-programs`:
@@ -455,3 +456,4 @@ Under the hood:
[elixir-ls]: https://github.com/JakeBecker/elixir-ls
[news]: https://github.com/joaotavora/eglot/blob/master/NEWS.md
[ada_language_server]: https://github.com/AdaCore/ada_language_server
+[metals]: http://scalameta.org/metals/
diff --git a/eglot.el b/eglot.el
index 74f0669..3e8eb2d 100644
--- a/eglot.el
+++ b/eglot.el
@@ -104,7 +104,8 @@ language-server/bin/php-language-server.php"))
(java-mode . eglot--eclipse-jdt-contact)
(dart-mode . ("dart_language_server"))
(elixir-mode . ("language_server.sh"))
- (ada-mode . ("ada_language_server")))
+ (ada-mode . ("ada_language_server"))
+ (scala-mode . ("metals-emacs")))
"How the command `eglot' guesses the server to start.
An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE
is a mode symbol, or a list of mode symbols. The associated
- [elpa] externals/eglot 32ba9d0 06/54: Expand README.md section on handling quirky servers, (continued)
- [elpa] externals/eglot 32ba9d0 06/54: Expand README.md section on handling quirky servers, João Távora, 2020/04/16
- [elpa] externals/eglot 3d480d1 01/54: Fix #259 (again): fix issue with replace-buffer-contents, João Távora, 2020/04/16
- [elpa] externals/eglot 83b2acb 09/54: Support markdown for textDocument/hover (#329), João Távora, 2020/04/16
- [elpa] externals/eglot de7631d 17/54: Fix #345: set nobreak-char-display to nil in *eglot-help*, João Távora, 2020/04/16
- [elpa] externals/eglot 179a56d 13/54: Only set eglot--cached-current-server by (more aggressive) caching, João Távora, 2020/04/16
- [elpa] externals/eglot 146108a 15/54: Fix #342: Provide stable eglot-current-server helper, João Távora, 2020/04/16
- [elpa] externals/eglot 8c9078e 19/54: Fix #343: Let other imenu functions work if LSP server's doesn't, João Távora, 2020/04/16
- [elpa] externals/eglot 4bd8773 23/54: Fix #339: fail when eglot-find-* finds no references, João Távora, 2020/04/16
- [elpa] externals/eglot 76d8f49 10/54: Per #50: use completionItem/resolve more abundantly, João Távora, 2020/04/16
- [elpa] externals/eglot a6fa773 25/54: Resolve compilation warnings, João Távora, 2020/04/16
- [elpa] externals/eglot b2e4687 29/54: Close #376: add metals as the language server for Scala,
João Távora <=
- [elpa] externals/eglot 097eed5 31/54: Close #382: new eglot-confirm-server-initiated-edits defcustom, João Távora, 2020/04/16
- [elpa] externals/eglot 2ab8b59 08/54: Don't run mode hooks in eglot--format-markup, João Távora, 2020/04/16
- [elpa] externals/eglot 88311a2 12/54: Simplify "maybe"-activation, dump "server" arg, João Távora, 2020/04/16
- [elpa] externals/eglot 7f9784c 11/54: Merge -onoff proxy code into minor mode function, João Távora, 2020/04/16
- [elpa] externals/eglot 9eac9de 16/54: Fix #341: protect against empty-string insertText in completions, João Távora, 2020/04/16
- [elpa] externals/eglot b406818 07/54: Fix #326: support workspace/configuration, João Távora, 2020/04/16
- [elpa] externals/eglot ef34797 14/54: Fix #340: Don't choke on workspace/configuration with no scopeUri, João Távora, 2020/04/16
- [elpa] externals/eglot 27fb0c6 18/54: Support serverInfo of LSP 3.15.0, João Távora, 2020/04/16
- [elpa] externals/eglot 893a05a 20/54: Fix #330: ensure process starts in project's root, João Távora, 2020/04/16
- [elpa] externals/eglot 678feb9 21/54: * eglot.el (eglot-completion-at-point): Remove spurious unrelated change., João Távora, 2020/04/16