From 8a5f63d8bd91a2ff55c0e78ff8e893c79d0f5f94 Mon Sep 17 00:00:00 2001 From: "Johnathan C. Maudlin" <13183098+jcmdln@users.noreply.github.com> Date: Fri, 19 Mar 2021 16:10:43 -0400 Subject: [PATCH] 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 --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2