aboutsummaryrefslogtreecommitdiff
path: root/settings/omnisharp-lsp.vim
blob: 1ce7fc499851e1ad2a06379520a14d11f3ec8017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
augroup vimlsp_settings_omnisharp_lsp
  au!
  LspRegisterServer {
      \ 'name': 'omnisharp-lsp',
      \ 'root_uri':{server_info->lsp_settings#get('omnisharp-lsp', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))},
      \ '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