From 2712522c63cb18afa0b69f987b05cd6d25d6cb52 Mon Sep 17 00:00:00 2001 From: Mitsuo Heijo Date: Sun, 29 Dec 2019 22:26:26 +0900 Subject: feature: support groovy --- settings/groovy-language-server.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 settings/groovy-language-server.vim (limited to 'settings') diff --git a/settings/groovy-language-server.vim b/settings/groovy-language-server.vim new file mode 100644 index 0000000..8b1a2bc --- /dev/null +++ b/settings/groovy-language-server.vim @@ -0,0 +1,13 @@ +augroup vimlsp_settings_groovy_language_server + au! + LspRegisterServer { + \ 'name': 'groovy-language-server', + \ 'cmd': {server_info->lsp_settings#get('groovy-language-server', 'cmd', [lsp_settings#exec_path('groovy-language-server')])}, + \ 'root_uri':{server_info->lsp_settings#get('groovy-language-server', 'root_uri', lsp_settings#root_uri(['.git/', 'build.gradle']))}, + \ 'initialization_options': lsp_settings#get('groovy-language-server', 'initialization_options', {}), + \ 'whitelist': lsp_settings#get('groovy-language-server', 'whitelist', ['groovy']), + \ 'blacklist': lsp_settings#get('groovy-language-server', 'blacklist', []), + \ 'config': lsp_settings#get('groovy-language-server', 'config', {}), + \ 'workspace_config': lsp_settings#get('groovy-language-server', 'workspace_config', {}), + \ } +augroup END -- cgit v1.2.3-54-g00ecf