aboutsummaryrefslogtreecommitdiff
path: root/settings/groovy-language-server.vim
blob: f642e4517f9f8e01d5ed68153d5a66222748dc79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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(['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', lsp_settings#server_config('groovy-language-server')),
      \ 'workspace_config': lsp_settings#get('groovy-language-server', 'workspace_config', {}),
      \ }
augroup END