aboutsummaryrefslogtreecommitdiff
path: root/settings/rls.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 15:13:18 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-16 15:13:18 +0900
commitec4fc454429d2a5109a6e8487fe71261e521f399 (patch)
treec6cae1705663d41e04a2f56dab73588cb0517d77 /settings/rls.vim
parent5ed5dc7239f76b3aacff15332e9a39e4772543e2 (diff)
downloadvim-lsp-settings-ec4fc454429d2a5109a6e8487fe71261e521f399.tar.gz
vim-lsp-settings-ec4fc454429d2a5109a6e8487fe71261e521f399.tar.bz2
vim-lsp-settings-ec4fc454429d2a5109a6e8487fe71261e521f399.zip
command/cmd must not be lambda
Diffstat (limited to 'settings/rls.vim')
-rw-r--r--settings/rls.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/rls.vim b/settings/rls.vim
index 4267795..0b0fe59 100644
--- a/settings/rls.vim
+++ b/settings/rls.vim
@@ -2,7 +2,7 @@ augroup vimlsp_settings_rls
au!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'rls',
- \ 'cmd': lsp_settings#get('rls', 'cmd', {server_info->[lsp_settings#exec_path('rls')]}),
+ \ 'cmd': {server_info->lsp_settings#get('rls', 'cmd', [lsp_settings#exec_path('rls')])},
\ 'initialization_options': lsp_settings#get('rls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('rls', 'whitelist', ['rust']),
\ 'blacklist': lsp_settings#get('rls', 'blacklist', []),