File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,6 @@ function! s:FindSolutionsFiles(bufnr) abort
491
491
492
492
while dir !=# lastfolder
493
493
let solution_files += s: globpath (dir , ' *.sln' )
494
- let solution_files += s: globpath (dir , ' project.json' )
495
494
496
495
call filter (solution_files, ' filereadable(v:val)' )
497
496
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ let s:save_cpo = &cpoptions
2
2
set cpoptions &vim
3
3
4
4
let s: dir_separator = fnamemodify (' .' , ' :p' )[-1 :]
5
- let s: roslyn_server_files = ' project.json'
6
5
let s: plugin_root_dir = expand (' <sfile>:p:h:h:h' )
7
6
8
7
function ! s: is_msys () abort
@@ -146,12 +145,7 @@ function! OmniSharp#util#GetServerPath() abort
146
145
endfunction
147
146
148
147
function ! OmniSharp#util#GetStartCmd (solution_file) abort
149
- let solution_path = a: solution_file
150
- if fnamemodify (solution_path, ' :t' ) == ? s: roslyn_server_files
151
- let solution_path = fnamemodify (solution_path, ' :h' )
152
- endif
153
-
154
- let solution_path = OmniSharp#util#TranslatePathForServer (solution_path)
148
+ let solution_path = OmniSharp#util#TranslatePathForServer (a: solution_file )
155
149
156
150
if exists (' g:OmniSharp_server_path' )
157
151
let s: server_path = g: OmniSharp_server_path
You can’t perform that action at this time.
0 commit comments