aboutsummaryrefslogtreecommitdiff
path: root/settings/eclipse-jdt-ls.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 12:56:53 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-24 12:56:53 +0900
commit386951849a62583ec8d9e0c60170ca59dbc61708 (patch)
tree841f7df96e21ad0b162e69445202a997bff7d50e /settings/eclipse-jdt-ls.vim
parent9ec55697b7cad9f0e474795869985fd474efe6d3 (diff)
parent3b5c80cf983a82f78ee98a2d6d7dacc7703de1c2 (diff)
downloadvim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.tar.gz
vim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.tar.bz2
vim-lsp-settings-386951849a62583ec8d9e0c60170ca59dbc61708.zip
Merge branch 'master' into efm
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', []),