summaryrefslogtreecommitdiff
path: root/ale_linters/r
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-11-21 20:58:34 +0000
committerw0rp <devw0rp@gmail.com>2020-11-21 20:58:34 +0000
commit681a6e371d02cce9c2414c19f5deeae61aa321fa (patch)
tree0a0421712c2713a96872cf87e3270228865032cf /ale_linters/r
parent9692c0c64c83bb8f67962cf35e7dc3f1757aa8cc (diff)
downloadale-681a6e371d02cce9c2414c19f5deeae61aa321fa.zip
Use _config for LSP config options
Diffstat (limited to 'ale_linters/r')
-rw-r--r--ale_linters/r/languageserver.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/r/languageserver.vim b/ale_linters/r/languageserver.vim
index c625d8b4..febe66bd 100644
--- a/ale_linters/r/languageserver.vim
+++ b/ale_linters/r/languageserver.vim
@@ -2,7 +2,7 @@
" Description: Implementation of the Language Server Protocol for R.
call ale#Set('r_languageserver_cmd', 'languageserver::run()')
-call ale#Set('r_languageserver_options', {})
+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')
@@ -19,7 +19,7 @@ endfunction
call ale#linter#Define('r', {
\ 'name': 'languageserver',
\ 'lsp': 'stdio',
-\ 'lsp_config': {b -> ale#Var(b, 'r_languageserver_options')},
+\ 'lsp_config': {b -> ale#Var(b, 'r_languageserver_config')},
\ 'executable': 'Rscript',
\ 'command': function('ale_linters#r#languageserver#GetCommand'),
\ 'project_root': function('ale_linters#r#languageserver#GetProjectRoot')