Skip to content

Instantly share code, notes, and snippets.

@mattn
Created June 8, 2016 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattn/a3c98c4d28d3cf6de6ca92b07a190b50 to your computer and use it in GitHub Desktop.
Save mattn/a3c98c4d28d3cf6de6ca92b07a190b50 to your computer and use it in GitHub Desktop.
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