diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 23:40:23 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-25 23:40:23 +0900 |
commit | dd6f34e7089a8a06fbd239b8f3dba46b0074010a (patch) | |
tree | da108eb0fb31e84fd6e93d25b9fca93a1ed196d2 /settings/eclipse-jdt-ls.vim | |
parent | 0bc757a306ec6a34c495341fe2d63c867aaa9831 (diff) | |
download | vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.gz vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.bz2 vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.zip |
Fix settings
Diffstat (limited to 'settings/eclipse-jdt-ls.vim')
-rw-r--r-- | settings/eclipse-jdt-ls.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/eclipse-jdt-ls.vim b/settings/eclipse-jdt-ls.vim index 32f9113..5e72f81 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#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/']))}, + \ 'root_uri':{server_info->lsp_settings#get('eclipse-jdt-ls', 'root_uri', lsp_settings#root_uri(['.git/', 'pom.xml', 'build.gradle']))}, \ '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', []), |