aboutsummaryrefslogtreecommitdiff
path: root/settings/eclipse-jdt-ls.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/eclipse-jdt-ls.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/eclipse-jdt-ls.vim')
-rw-r--r--settings/eclipse-jdt-ls.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/eclipse-jdt-ls.vim b/settings/eclipse-jdt-ls.vim
index c8dd07f..5cd9299 100644
--- a/settings/eclipse-jdt-ls.vim
+++ b/settings/eclipse-jdt-ls.vim
@@ -1,6 +1,6 @@
augroup vimlsp_settings_eclipse_jdt_ls
au!
- autocmd User lsp_setup call lsp#register_server({
+ autocmd User lsp_setup ++once call lsp#register_server({
\ 'name': 'eclipse-jdt-ls',
\ 'cmd': {server_info->lsp_settings#get('eclipse-jdt-ls', 'cmd', [lsp_settings#exec_path('eclipse-jdt-ls')])},
\ 'initialization_options': lsp_settings#get('eclipse-jdt-ls', 'initialization_options', v:null),