Add a wrapper program for running linters which cannot receive stdin input on Windows.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user