aboutsummaryrefslogtreecommitdiff
path: root/settings/omnisharp-lsp.vim
blob: 5ada03f80bad106d1e64a2d43dc93a7a83877872 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
augroup vimlsp_settings_omnisharp_lsp
  au!
  autocmd User lsp_setup ++once call lsp#register_server({
      \ 'name': 'omnisharp-lsp',
      \ 'cmd': {server_info->lsp_settings#get('omnisharp-lsp', 'cmd', [lsp_settings#exec_path('omnisharp-lsp'), '-lsp'])},
      \ 'initialization_options': lsp_settings#get('omnisharp-lsp', 'initialization_options', v:null),
      \ 'whitelist': lsp_settings#get('omnisharp-lsp', 'whitelist', ['cs']),
      \ 'blacklist': lsp_settings#get('omnisharp-lsp', 'blacklist', []),
      \ 'config': lsp_settings#get('omnisharp-lsp', 'config', {}),
      \ 'workspace_config': lsp_settings#get('omnisharp-lsp', 'workspace_config', {}),
      \ })
augroup END