Add a wrapper program for running linters which cannot receive stdin input on Windows.

This commit is contained in:
w0rp
2016-10-07 21:33:16 +01:00
parent 2f86a92ecb
commit 4489514e4b
6 changed files with 112 additions and 7 deletions

View File

@@ -13,6 +13,10 @@ function! s:FindWrapperScript()
let path = expand(parent . '/' . 'stdin-wrapper')
if filereadable(path)
if has('win32')
return path . '.exe'
endif
return path
endif
endfor