aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-29 22:26:26 +0900
committerMitsuo Heijo <mitsuo.heijo@gmail.com>2019-12-29 23:06:13 +0900
commit2712522c63cb18afa0b69f987b05cd6d25d6cb52 (patch)
treebd07ffcb613c124f5cfd82269603d8b6c35fe68e /settings
parentf53792d9192c9a7173d8b758ee26c86d85cbb94b (diff)
downloadvim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.tar.gz
vim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.tar.bz2
vim-lsp-settings-2712522c63cb18afa0b69f987b05cd6d25d6cb52.zip
feature: support groovy
Diffstat (limited to 'settings')
-rw-r--r--settings/groovy-language-server.vim13
1 files changed, 13 insertions, 0 deletions
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