aboutsummaryrefslogtreecommitdiff
path: root/settings/kotlin-language-server.vim
blob: ebc2c948f9f76bc9b30f2227f4092fd6da0b764a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
augroup vimlsp_settings_kotlin_language_server
  au!
  autocmd User lsp_setup call lsp#register_server({
      \ 'name': 'kotlin-language-server',
      \ 'cmd': lsp_settings#get('kotlin-language-server', 'cmd', {server_info->[lsp_settings#exec_path('kotlin-language-server')]}),
      \ 'initialization_options': lsp_settings#get('kotlin-language-server', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('kotlin-language-server', 'whitelist', ['kotlin']),
      \ 'blacklist': lsp_settings#get('kotlin-language-server', 'blacklist', []),
      \ 'config': lsp_settings#get('kotlin-language-server', 'config', {}),
      \ 'workspace_config': lsp_settings#get('kotlin-language-server', 'workspace_config', {}),
      \ })
augroup END