summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-01-17 18:08:17 +0000
committerw0rp <devw0rp@gmail.com>2018-01-17 18:08:17 +0000
commit045c92ed655214ef7503c2d592e41eb0ba4bf041 (patch)
tree61c1bd04cd2f9062e942dc882a4c0b14217ab713 /autoload
parentf6af75aac46f2d4ac72ea8256ac871f7cbf158f6 (diff)
downloadale-045c92ed655214ef7503c2d592e41eb0ba4bf041.zip
Fix #1298 - Escape commands for PowerShell
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/job.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/job.vim b/autoload/ale/job.vim
index 9cebcf5b..2909dab4 100644
--- a/autoload/ale/job.vim
+++ b/autoload/ale/job.vim
@@ -205,7 +205,7 @@ function! ale#job#PrepareCommand(buffer, command) abort
" but we'll do this explicitly, so we use the same exact command for both
" versions.
if has('win32')
- return 'cmd /c ' . l:command
+ return 'cmd /s/c "' . l:command . '"'
endif
if &shell =~? 'fish$'