Create a gist now

Instantly share code, notes, and snippets.

diff --git a/autoload/quickrun/runner/system.vim b/autoload/quickrun/runner/system.vim
index 64dc1a5..0db0c4c 100644
--- a/autoload/quickrun/runner/system.vim
+++ b/autoload/quickrun/runner/system.vim
@@ -35,7 +35,9 @@ function! s:execute(cmd, input)
try
if is_cmd_exe
let sxq = &shellxquote
- let &shellxquote = '"'
+ if a:cmd !~ '^(.*)$'
+ let &shellxquote = '"'
+ endif
endif
let cmd = a:cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment