aboutsummaryrefslogtreecommitdiff
path: root/settings/bash-language-server.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-18 17:02:04 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-18 17:02:04 +0900
commit96cdf55580701fbf084e2a43802007f6c077922d (patch)
tree5a0900951d01f989c17176e2073cdfbba3e58c87 /settings/bash-language-server.vim
parent43cb3d59fded5d5609875e8542ee5b7dbd6eb3a2 (diff)
downloadvim-lsp-settings-96cdf55580701fbf084e2a43802007f6c077922d.tar.gz
vim-lsp-settings-96cdf55580701fbf084e2a43802007f6c077922d.tar.bz2
vim-lsp-settings-96cdf55580701fbf084e2a43802007f6c077922d.zip
Fix installers
Diffstat (limited to 'settings/bash-language-server.vim')
-rw-r--r--settings/bash-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/bash-language-server.vim b/settings/bash-language-server.vim
index 198a898..82c57c0 100644
--- a/settings/bash-language-server.vim
+++ b/settings/bash-language-server.vim
@@ -1,6 +1,6 @@
augroup vimlsp_settings_bash_language_server
au!
- autocmd User lsp_setup call lsp#register_server({
+ autocmd User lsp_setup ++once call lsp#register_server({
\ 'name': 'bash-language-server',
\ 'cmd': {server_info->lsp_settings#get('bash-language-server', 'cmd', [lsp_settings#exec_path('bash-language-server'), 'start'])},
\ 'whitelist': lsp_settings#get('bash-language-server', 'whitelist', ['sh']),