]> git.eshelyaron.com Git - emacs.git/commitdiff
Add rnix-lsp server for nix-mode, community suggestion
authorBrian Leung <bkleung89@gmail.com>
Wed, 27 Jan 2021 22:43:15 +0000 (14:43 -0800)
committerGitHub <noreply@github.com>
Wed, 27 Jan 2021 22:43:15 +0000 (22:43 +0000)
* 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

index 98fa4d9af6f92517cef07ebbe696001a53369863..a0c5dc52032877cafe0c84e7209238639e316326 100644 (file)
@@ -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