diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-07 21:33:16 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-07 21:33:16 +0100 |
commit | 4489514e4b3edb4376040ed217c95b5ccb489bb0 (patch) | |
tree | 3b379280548e209414e46ae43dc45329d798d8c9 /plugin | |
parent | 2f86a92ecbd276b694d0a33db954e7e148b733a8 (diff) | |
download | ale-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.vim | 4 |
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 |