aboutsummaryrefslogtreecommitdiff
path: root/settings/html-languageserver.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/html-languageserver.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/html-languageserver.vim')
-rw-r--r--settings/html-languageserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/html-languageserver.vim b/settings/html-languageserver.vim
index b07d818..cbe517e 100644
--- a/settings/html-languageserver.vim
+++ b/settings/html-languageserver.vim
@@ -2,7 +2,7 @@ augroup vimlsp_settings_html_languageserver
au!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'html-languageserver',
- \ 'cmd': lsp_settings#get('html-languageserver', 'cmd', {server_info->[lsp_settings#exec_path('html-languageserver'), '--stdio']}),
+ \ 'cmd': {server_info->lsp_settings#get('html-languageserver', 'cmd', [lsp_settings#exec_path('html-languageserver'), '--stdio'])},
\ 'initialization_options': lsp_settings#get('html-languageserver', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('html-languageserver', 'whitelist', ['html']),
\ 'blacklist': lsp_settings#get('html-languageserver', 'blacklist', []),