aboutsummaryrefslogtreecommitdiff
path: root/settings/r-languageserver.vim
blob: 3e1b8dd24a331f26185869e10a22d0e223f7d273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
augroup vim_lsp_settings_r_languageserver
  au!
  LspRegisterServer {
      \ 'name': 'r-languageserver',
      \ 'cmd': {server_info->lsp_settings#get('r-languageserver', 'cmd', ['R', '--slave', '-e', 'languageserver::run()'])},
      \ 'root_uri':{server_info->lsp_settings#get('r-languageserver', 'root_uri', lsp_settings#root_uri('r-languageserver'))},
      \ 'initialization_options': lsp_settings#get('r-languageserver', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('r-languageserver', 'whitelist', ['r']),
      \ 'blacklist': lsp_settings#get('r-languageserver', 'blacklist', []),
      \ 'config': lsp_settings#get('r-languageserver', 'config', lsp_settings#server_config('r-languageserver')),
      \ 'workspace_config': lsp_settings#get('r-languageserver', 'workspace_config', {}),
      \ 'semantic_highlight': lsp_settings#get('r-languageserver', 'semantic_highlight', {}),
      \ }
augroup END