From 8b4896f6d2a2245c5794fa8c9ecca1507648daed Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 27 Jan 2021 14:43:15 -0800 Subject: [PATCH] Add rnix-lsp server for nix-mode, community suggestion * eglot.el (eglot-server-programs): Add rnix-lsp * README.md: mention rnix-lsp Copyright-paperwork-exempt: yes GitHub-reference: close https://github.com/joaotavora/eglot/issues/599 --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 98fa4d9af6f..a0c5dc52032 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -123,6 +123,7 @@ language-server/bin/php-language-server.php")) ((tex-mode context-mode texinfo-mode bibtex-mode) . ("digestif")) (erlang-mode . ("erlang_ls" "--transport" "stdio")) + (nix-mode . ("rnix-lsp")) (gdscript-mode . ("localhost" 6008))) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE -- 2.39.2