diff options
author | ourigen <79729735+ourigen@users.noreply.github.com> | 2021-07-04 12:34:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-04 21:34:35 +0900 |
commit | e4ddd32c840c405b12abe76fefc860062989e429 (patch) | |
tree | b3ed5cbc9b9487f4126eb7fd24e5fc5f5528c4f5 /ale_linters/r/languageserver.vim | |
parent | afcbd1620e741a98a2952b5e7bfd0dd2bdda2c7a (diff) | |
download | ale-e4ddd32c840c405b12abe76fefc860062989e429.zip |
Let R_languageserver consider .Renviron (#3744)
* Fix languageserver.vim to consider Renviron
* Update test_r_languageserver.vader
* Update credits
Diffstat (limited to 'ale_linters/r/languageserver.vim')
-rw-r--r-- | ale_linters/r/languageserver.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/r/languageserver.vim b/ale_linters/r/languageserver.vim index febe66bd..bab869d1 100644 --- a/ale_linters/r/languageserver.vim +++ b/ale_linters/r/languageserver.vim @@ -1,4 +1,5 @@ " Author: Eric Zhao <21zhaoe@protonmail.com> +" Author: ourigen <https://github.com/ourigen> " Description: Implementation of the Language Server Protocol for R. call ale#Set('r_languageserver_cmd', 'languageserver::run()') @@ -7,7 +8,7 @@ call ale#Set('r_languageserver_config', {}) function! ale_linters#r#languageserver#GetCommand(buffer) abort let l:cmd_string = ale#Var(a:buffer, 'r_languageserver_cmd') - return 'Rscript --vanilla -e ' . ale#Escape(l:cmd_string) + return 'Rscript --no-save --no-restore --no-site-file --no-init-file -e ' . ale#Escape(l:cmd_string) endfunction function! ale_linters#r#languageserver#GetProjectRoot(buffer) abort |