]> git.eshelyaron.com Git - emacs.git/commitdiff
Add support for zls, the zig language server
authorJohnathan C. Maudlin <13183098+jcmdln@users.noreply.github.com>
Fri, 19 Mar 2021 20:10:43 +0000 (16:10 -0400)
committerGitHub <noreply@github.com>
Fri, 19 Mar 2021 20:10:43 +0000 (20:10 +0000)
* eglot.el (eglot-server-programs): Add zig-mode entry.

* README.md (Connecting to a server): Mention zls.

Copyright-paperwork-exempt: yes
GitHub-reference: close https://github.com/joaotavora/eglot/issues/646

lisp/progmodes/eglot.el

index 0341ffdecc657cc8389aa2df3afe9395ba7bcc3d..5914f2ddd4721a100eef9ca2b9f6734be5cd3e8d 100644 (file)
@@ -125,7 +125,8 @@ language-server/bin/php-language-server.php"))
                                 (erlang-mode . ("erlang_ls" "--transport" "stdio"))
                                 (nix-mode . ("rnix-lsp"))
                                 (gdscript-mode . ("localhost" 6008))
-                                (f90-mode . ("fortls")))
+                                (f90-mode . ("fortls"))
+                                (zig-mode . ("zls")))
   "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