Fix #1298 - Escape commands for PowerShell

This commit is contained in:
w0rp
2018-01-17 18:08:17 +00:00
parent af1b881c8b
commit c7a9ffcb9c
4 changed files with 66 additions and 4 deletions

View File

@@ -35,4 +35,4 @@ Execute(cmd /c as a string should be used on Windows):
let &shellcmdflag = 'whatever'
let g:ale_has_override = {'win32': 1}
AssertEqual 'cmd /c foobar', ale#job#PrepareCommand('foobar')
AssertEqual 'cmd /s/c "foobar"', ale#job#PrepareCommand('foobar')