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
314314 endif
315315
316316 let ssl_save = &shellslash
317- set noshellslash
317+ if has (" win32" )
318+ set noshellslash
319+ endif
318320 if a: 0
319321 return join (map (copy (a: arglist ), ' shellescape(v:val, ' . a: 1 . ' )' ), ' ' )
320322 endif
@@ -332,7 +334,9 @@ endfunction
332334function ! go#util#Shelllist (arglist, ... ) abort
333335 try
334336 let ssl_save = &shellslash
335- set noshellslash
337+ if has (" win32" )
338+ set noshellslash
339+ endif
336340 if a: 0
337341 return map (copy (a: arglist ), ' go#util#Shelljoin(v:val, ' . a: 1 . ' )' )
338342 endif
@@ -779,7 +783,7 @@ function! go#util#TestNamesInFile() abort
779783 call cursor (l: line- 1 , 1 )
780784 let l: line = go#util#testLine ()
781785 endwhile
782-
786+
783787 call setpos (' .' , l: startpos )
784788
785789 let l: tests = []
You can’t perform that action at this time.
0 commit comments