diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 15:13:18 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-16 15:13:18 +0900 |
commit | ec4fc454429d2a5109a6e8487fe71261e521f399 (patch) | |
tree | c6cae1705663d41e04a2f56dab73588cb0517d77 /settings/vim-language-server.vim | |
parent | 5ed5dc7239f76b3aacff15332e9a39e4772543e2 (diff) | |
download | vim-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/vim-language-server.vim')
-rw-r--r-- | settings/vim-language-server.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/vim-language-server.vim b/settings/vim-language-server.vim index 6932aa9..3fffea0 100644 --- a/settings/vim-language-server.vim +++ b/settings/vim-language-server.vim @@ -2,7 +2,7 @@ augroup vimlsp_settings_vim_language_server au! autocmd User lsp_setup call lsp#register_server({ \ 'name': 'vim-language-server', - \ 'cmd': {server_info->[lsp_settings#exec_path('vim-language-server'), '--stdio']}, + \ 'cmd': {server_info->lsp_settings#get('vim-language-server', 'cmd', [lsp_settings#exec_path('vim-language-server'), '--stdio'])}, \ 'initialization_options': { \ 'vimruntime': $VIMRUNTIME, \ 'runtimepath': &rtp, |