From a6536ec8b0c20cab5c04edf7c552077a9d3f6b7d Mon Sep 17 00:00:00 2001 From: Alex Branham Date: Tue, 20 Nov 2018 15:27:38 -0600 Subject: [PATCH] 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 --- lisp/progmodes/eglot.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2