diff options
| author | mutlusun <mutlusun@users.noreply.github.com> | 2024-08-23 08:19:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 14:19:29 +0800 |
| commit | 04f41cdbec01aa2bb3c46cc973b1428b9a34e63c (patch) | |
| tree | 68f40eed0e09155e9b8c06b2525ff467cb1445a6 | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar.gz nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar.bz2 nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar.lz nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar.xz nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.tar.zst nvim-lspconfig-04f41cdbec01aa2bb3c46cc973b1428b9a34e63c.zip | |
fix(r-language-server): use `--no-echo` instead of `--slave` (#3280)
Starting from R version 4.0.0, the command line option `--slave` were
renamed to `--no-echo`.
See the relevant news for 4.0.0:
https://cran.r-project.org/bin/windows/base/old/4.0.0/NEWS.R-4.0.0.html
and the corresponding commit:
https://github.com/wch/r-source/commit/f1ff49e74593341c74c20de9517f31a22c8bcb04
| -rw-r--r-- | lua/lspconfig/server_configurations/r_language_server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/lspconfig/server_configurations/r_language_server.lua b/lua/lspconfig/server_configurations/r_language_server.lua index bdbab842..bd315390 100644 --- a/lua/lspconfig/server_configurations/r_language_server.lua +++ b/lua/lspconfig/server_configurations/r_language_server.lua @@ -2,7 +2,7 @@ local util = require 'lspconfig.util' return { default_config = { - cmd = { 'R', '--slave', '-e', 'languageserver::run()' }, + cmd = { 'R', '--no-echo', '-e', 'languageserver::run()' }, filetypes = { 'r', 'rmd' }, root_dir = function(fname) return util.find_git_ancestor(fname) or vim.loop.os_homedir() |
