]> git.eshelyaron.com Git - emacs.git/commitdiff
Add support for erlang_ls
authorRudolf Schlatte <rudi@constantly.at>
Thu, 21 May 2020 09:20:41 +0000 (11:20 +0200)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 09:20:41 +0000 (10:20 +0100)
* README.md: Mention erlang_ls

* eglot.el (eglot-server-programs): Add erlang_ls

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

lisp/progmodes/eglot.el

index 21a2496572f14a94233e0bf3423fb3876449c686..c38620edf96f1572efc84d5e593843f02d1b017a 100644 (file)
@@ -111,7 +111,8 @@ language-server/bin/php-language-server.php"))
                                 (ada-mode . ("ada_language_server"))
                                 (scala-mode . ("metals-emacs"))
                                 ((tex-mode context-mode texinfo-mode bibtex-mode)
-                                 . ("digestif")))
+                                 . ("digestif"))
+                                (erlang-mode . ("erlang_ls" "--transport" "stdio")))
   "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