From: Johnathan C. Maudlin <13183098+jcmdln@users.noreply.github.com> Date: Fri, 19 Mar 2021 20:10:43 +0000 (-0400) Subject: Add support for zls, the zig language server X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~151 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a5f63d8bd91a2ff55c0e78ff8e893c79d0f5f94;p=emacs.git Add support for zls, the zig language server * 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 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 0341ffdecc6..5914f2ddd47 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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