emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 69ce22b642 2/4: Add lua-lsp support for lua-mode


From: ELPA Syncer
Subject: [elpa] externals/eglot 69ce22b642 2/4: Add lua-lsp support for lua-mode
Date: Sat, 8 Jan 2022 13:57:30 -0500 (EST)

branch: externals/eglot
commit 69ce22b642f245978e1cb89ecdfff376d7915bc2
Author: Omar Polo <op@omarpolo.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Add lua-lsp support for lua-mode
    
    * eglot.el (eglot-server-programs): Add support for the lua-lsp server for 
lua.
    * README.md: Document the above change.
---
 README.md | 2 ++
 eglot.el  | 1 +
 2 files changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 7f637eac64..d8738c4bc0 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,7 @@ find-library` can help you tell if that happened.
 * Zig's [zls][zls]
 * FSharp's [fsharp-mode][fsharp-mode] (Needs to `(require 'eglot-fsharp)` 
first)
 * YAML's [yaml-language-server][yaml-language-server]
+* Lua's [lua-lsp][lua-lsp]
 
 I'll add to this list as I test more servers. In the meantime you can
 customize `eglot-server-programs`:
@@ -588,3 +589,4 @@ Under the hood:
 [gospb]: 
https://opensource.googleblog.com/2020/10/announcing-latest-google-open-source.html
 [zls]: https://github.com/zigtools/zls
 [fsharp-mode]: https://github.com/fsharp/emacs-fsharp-mode
+[lua-lsp]: https://github.com/Alloyed/lua-lsp
diff --git a/eglot.el b/eglot.el
index 725fb6c27d..e9f48bb3c3 100644
--- a/eglot.el
+++ b/eglot.el
@@ -176,6 +176,7 @@ language-server/bin/php-language-server.php"))
                                 (nix-mode . ("rnix-lsp"))
                                 (gdscript-mode . ("localhost" 6008))
                                 ((fortran-mode f90-mode) . ("fortls"))
+                                (lua-mode . ("lua-lsp"))
                                 (zig-mode . ("zls")))
   "How the command `eglot' guesses the server to start.
 An association list of (MAJOR-MODE . CONTACT) pairs.  MAJOR-MODE



reply via email to

[Prev in Thread] Current Thread [Next in Thread]