aboutsummaryrefslogtreecommitdiff
path: root/settings/ra_lsp_server.vim
blob: 5965e7ea36088e317ba00d29f164e5b47711589b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_ra_lsp_server
  au!
  LspRegisterServer {
      \ 'name': 'ra_lsp_server',
      \ 'cmd': {server_info->lsp_settings#get('ra_lsp_server', 'cmd', [lsp_settings#exec_path('ra_lsp_server')])},
      \ 'root_uri':{server_info->lsp_settings#get('ra_lsp_server', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
      \ 'initialization_options': lsp_settings#get('ra_lsp_server', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('ra_lsp_server', 'whitelist', ['rust']),
      \ 'blacklist': lsp_settings#get('ra_lsp_server', 'blacklist', []),
      \ 'config': lsp_settings#get('ra_lsp_server', 'config', {}),
      \ 'workspace_config': lsp_settings#get('ra_lsp_server', 'workspace_config', {}),
      \ }
augroup END