mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-07 12:44:34 +08:00
Fix #1298 - Escape commands for PowerShell
This commit is contained in:
1 parent
af1b881c8b
commit
c7a9ffcb9c
4 files changed
+66
-4
No files matched your search
@@ -174,7 +174,7 @@ function! ale#job#PrepareCommand(command) abort
|
||||
" but we'll do this explicitly, so we use thes same exact command for both
|
||||
" versions.
|
||||
if ale#Has('win32')
|
||||
return 'cmd /c ' . a:command
|
||||
return 'cmd /s/c "' . a:command . '"'
|
||||
endif
|
||||
|
||||
if &shell =~? 'fish$'
|
||||
|
||||
Reference in new issue
Block a user