summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-07 21:33:16 +0100
committerw0rp <devw0rp@gmail.com>2016-10-07 21:33:16 +0100
commit4489514e4b3edb4376040ed217c95b5ccb489bb0 (patch)
tree3b379280548e209414e46ae43dc45329d798d8c9 /plugin
parent2f86a92ecbd276b694d0a33db954e7e148b733a8 (diff)
downloadale-4489514e4b3edb4376040ed217c95b5ccb489bb0.zip
Add a wrapper program for running linters which cannot receive stdin input on Windows.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale/util.vim4
1 files changed, 4 insertions, 0 deletions
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