aboutsummaryrefslogtreecommitdiff
path: root/settings/eclipse-jdt-ls.vim
diff options
context:
space:
mode:
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),