We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3c9c14 commit d289308Copy full SHA for d289308
autoload/OmniSharp.vim
@@ -19,6 +19,10 @@ function! OmniSharp#GetHost(...) abort
19
if get(host, 'sln_or_dir', '') ==# ''
20
let host.sln_or_dir = OmniSharp#FindSolutionOrDir(1, bufnr)
21
let host.initialized = 0
22
+ let job = OmniSharp#proc#GetJob(host.sln_or_dir)
23
+ if type(job) != type({})
24
+ call OmniSharp#StartServer(host.sln_or_dir)
25
+ endif
26
call setbufvar(bufnr, 'OmniSharp_host', host)
27
endif
28
" The returned dict includes the job, but the job is _not_ part of
0 commit comments