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 5e72f81..eeaf56e 100644
--- a/settings/eclipse-jdt-ls.vim
+++ b/settings/eclipse-jdt-ls.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_eclipse_jdt_ls
LspRegisterServer {
\ 'name': 'eclipse-jdt-ls',
\ 'cmd': {server_info->lsp_settings#get('eclipse-jdt-ls', 'cmd', [lsp_settings#exec_path('eclipse-jdt-ls')])},
- \ 'root_uri':{server_info->lsp_settings#get('eclipse-jdt-ls', 'root_uri', lsp_settings#root_uri(['.git/', 'pom.xml', 'build.gradle']))},
+ \ 'root_uri':{server_info->lsp_settings#get('eclipse-jdt-ls', 'root_uri', lsp_settings#root_uri(extend(['pom.xml', 'build.gradle'], g:lsp_settings_root_markers)))},
\ 'initialization_options': lsp_settings#get('eclipse-jdt-ls', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('eclipse-jdt-ls', 'whitelist', ['java']),
\ 'blacklist': lsp_settings#get('eclipse-jdt-ls', 'blacklist', []),