summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index d788b779..4734ac44 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -77,7 +77,7 @@ endfunction
" Run an executable check for Python scripts.
" On Windows, 1 will be returned if the file is merely readable.
function! ale#python#IsExecutable(path) abort
- return has('win32') ? filereadable(a:path) : executable(a:path)
+ return executable(a:path)
endfunction
" Given a buffer number and a command name, find the path to the executable.