aboutsummaryrefslogtreecommitdiff
path: root/settings/ra_lsp_server.vim
blob: 95d02723cfc7aef74336385638bfdec3f9c7b02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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('ra_lsp_server'))},
      \ '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', {}),
      \ 'semantic_highlight': lsp_settings#get('ra_lsp_server', 'semantic_highlight', {}),
      \ }
augroup END