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