您可以毫无问题地使用。请参阅我的 C# 配置:
" C#
Plug 'https://github.com/adelarsq/vim-csharp', {'for':['cs','csx','cshtml.html','csproj','solution']}
Plug 'https://github.com/OmniSharp/omnisharp-vim', {'for':['cs','csx','cshtml.html','csproj','solution'], 'on': ['OmniSharpInstall']}
let g:OmniSharp_server_stdio = 1
let g:OmniSharp_selector_ui = '' " Use vim - command line, quickfix etc.
let g:OmniSharp_highlight_types = 2
augroup my_omnisharp
autocmd!
au FileType cs nmap <buffer> <silent> ga :OmniSharpGetCodeActions<CR>
au FileType cs nmap <buffer> <silent> gd :OmniSharpGotoDefinition<CR>
au FileType cs nmap <buffer> <silent> gq :OmniSharpCodeFormat<CR>
au FileType cs nmap <buffer> <silent> gu :OmniSharpFixUsings<CR>
au FileType cs nmap <buffer> <silent> gr :OmniSharpFindUsages<CR>
au FileType cs nmap <buffer> <silent> gK :OmniSharpDocumentation<CR>
au FileType cs nmap <buffer> <silent> <F2> :OmniSharpRename<CR>
augroup END