aboutsummaryrefslogtreecommitdiff
path: root/settings/ra_lsp_server.vim
blob: 005c06bc0e11648db985186b8b49a88893e2f1f2 (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(['Cargo.toml']))},
      \ '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', lsp_settings#server_config('ra_lsp_server')),
      \ 'workspace_config': lsp_settings#get('ra_lsp_server', 'workspace_config', {}),
      \ }
augroup END