From 4489514e4b3edb4376040ed217c95b5ccb489bb0 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 7 Oct 2016 21:33:16 +0100 Subject: Add a wrapper program for running linters which cannot receive stdin input on Windows. --- plugin/ale/util.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin') diff --git a/plugin/ale/util.vim b/plugin/ale/util.vim index 38e1d95d..fd9bb356 100644 --- a/plugin/ale/util.vim +++ b/plugin/ale/util.vim @@ -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 -- cgit v1.2.3