diff options
author | mattn <mattn.jp@gmail.com> | 2020-01-31 13:00:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 13:00:03 +0900 |
commit | f7f7863e01cb5e8e2a928ee4e05da8b46ae24a4b (patch) | |
tree | 69811900e06307336615043b43b80b2b74010df1 /installer | |
parent | 34202e81809d4a8cd41a6b922f23d6252a50ce98 (diff) | |
parent | b9dda7671357730d92e78a150ee2103b2923b720 (diff) | |
download | vim-lsp-settings-f7f7863e01cb5e8e2a928ee4e05da8b46ae24a4b.tar.gz vim-lsp-settings-f7f7863e01cb5e8e2a928ee4e05da8b46ae24a4b.tar.bz2 vim-lsp-settings-f7f7863e01cb5e8e2a928ee4e05da8b46ae24a4b.zip |
Merge pull request #138 from mattn/r-languageserver
Add r-languageserver
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-r-languageserver.cmd | 10 | ||||
-rwxr-xr-x | installer/install-r-languageserver.sh | 13 |
2 files changed, 23 insertions, 0 deletions
diff --git a/installer/install-r-languageserver.cmd b/installer/install-r-languageserver.cmd new file mode 100644 index 0000000..699e200 --- /dev/null +++ b/installer/install-r-languageserver.cmd @@ -0,0 +1,10 @@ +@echo off
+
+R --slave -e install.packages("languageserver")
+
+echo @echo off ^
+
+R --slave -e "languageserver::run()" ^
+
+> r-languageserver.cmd
+
diff --git a/installer/install-r-languageserver.sh b/installer/install-r-languageserver.sh new file mode 100755 index 0000000..eeaa676 --- /dev/null +++ b/installer/install-r-languageserver.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -e + +R --slave -e 'install.packages("languageserver")' + +cat <<EOF >r-languageserver +#!/usr/bin/env bash + +R --slave -e 'languageserver::run()' +EOF + +chmod +x r-languageserver |