aboutsummaryrefslogtreecommitdiff
path: root/settings/vim-language-server.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/vim-language-server.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/vim-language-server.vim')
-rw-r--r--settings/vim-language-server.vim2
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,