Created
June 8, 2016 03:42
-
-
Save mattn/a3c98c4d28d3cf6de6ca92b07a190b50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/quickrun/runner/system.vim b/autoload/quickrun/runner/system.vim | |
index 8924e90..e4592f4 100644 | |
--- a/autoload/quickrun/runner/system.vim | |
+++ b/autoload/quickrun/runner/system.vim | |
@@ -38,7 +38,9 @@ function! s:execute(cmd, input) abort | |
endif | |
let cmd = a:cmd | |
- let cmd = g:quickrun#V.Process.iconv(cmd, &encoding, &termencoding) | |
+ if !has('patch-7.4.132') | |
+ let cmd = g:quickrun#V.Process.iconv(cmd, &encoding, &termencoding) | |
+ endif | |
let result = a:input ==# '' ? system(cmd) | |
\ : system(cmd, a:input) | |
finally |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment