summaryrefslogtreecommitdiff
path: root/ale_linters/rust/analyzer.vim
diff options
context:
space:
mode:
authorBen Linsay <blinsay@gmail.com>2020-11-18 20:39:07 -0500
committerBen Linsay <blinsay@gmail.com>2020-11-18 22:22:16 -0500
commitddfc43e774fd38e4051ba9fd3619ca9f0da6639f (patch)
tree0e548cb19ddcd62cea2772a9ee229c6e4507c742 /ale_linters/rust/analyzer.vim
parent48fe0dd4f629bb1282277ba8a6757a84c13a4dda (diff)
downloadale-ddfc43e774fd38e4051ba9fd3619ca9f0da6639f.zip
pass lsp intialization_options to rust-analyzer
fixes #3350
Diffstat (limited to 'ale_linters/rust/analyzer.vim')
-rw-r--r--ale_linters/rust/analyzer.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/rust/analyzer.vim b/ale_linters/rust/analyzer.vim
index 3666ec03..77d946f7 100644
--- a/ale_linters/rust/analyzer.vim
+++ b/ale_linters/rust/analyzer.vim
@@ -17,7 +17,7 @@ endfunction
call ale#linter#Define('rust', {
\ 'name': 'analyzer',
\ 'lsp': 'stdio',
-\ 'lsp_config': {b -> ale#Var(b, 'rust_analyzer_config')},
+\ 'initialization_options': {b -> ale#Var(b, 'rust_analyzer_config')},
\ 'executable': {b -> ale#Var(b, 'rust_analyzer_executable')},
\ 'command': function('ale_linters#rust#analyzer#GetCommand'),
\ 'project_root': function('ale_linters#rust#analyzer#GetProjectRoot'),