File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,9 @@ function! go#util#Shelljoin(arglist, ...) abort
314
314
endif
315
315
316
316
let ssl_save = &shellslash
317
- set noshellslash
317
+ if has (" win32" )
318
+ set noshellslash
319
+ endif
318
320
if a: 0
319
321
return join (map (copy (a: arglist ), ' shellescape(v:val, ' . a: 1 . ' )' ), ' ' )
320
322
endif
@@ -332,7 +334,9 @@ endfunction
332
334
function ! go#util#Shelllist (arglist, ... ) abort
333
335
try
334
336
let ssl_save = &shellslash
335
- set noshellslash
337
+ if has (" win32" )
338
+ set noshellslash
339
+ endif
336
340
if a: 0
337
341
return map (copy (a: arglist ), ' go#util#Shelljoin(v:val, ' . a: 1 . ' )' )
338
342
endif
@@ -779,7 +783,7 @@ function! go#util#TestNamesInFile() abort
779
783
call cursor (l: line- 1 , 1 )
780
784
let l: line = go#util#testLine ()
781
785
endwhile
782
-
786
+
783
787
call setpos (' .' , l: startpos )
784
788
785
789
let l: tests = []
You can’t perform that action at this time.
0 commit comments