From: Alex Branham Date: Tue, 20 Nov 2018 21:27:38 +0000 (-0600) Subject: Add support for r's languageserver () X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~395 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6536ec8b0c20cab5c04edf7c552077a9d3f6b7d;p=emacs.git Add support for r's languageserver () Copyright-paperwork-exempt: yes * eglot.el (eglot-server-programs): Add R language server. * README.md (Installation and usage): Mention it. GitHub-reference: https://github.com/joaotavora/eglot/issues/161 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index c65d9089784..c382c67e549 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -96,6 +96,8 @@ language-server/bin/php-language-server.php")) (kotlin-mode . ("kotlin-language-server")) (go-mode . ("go-langserver" "-mode=stdio" "-gocodecompletion")) + ((R-mode ess-r-mode) . ("R" "--slave" "-e" + "languageserver::run()")) (java-mode . eglot--eclipse-jdt-contact)) "How the command `eglot' guesses the server to start. An association list of (MAJOR-MODE . CONTACT) pairs. MAJOR-MODE