summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-21 14:37:01 +0000
committerw0rp <devw0rp@gmail.com>2017-11-21 14:37:01 +0000
commit3ef98f42bdb0d692346d4aab29bd0809a6d5bdd4 (patch)
treebe31144555116acf716734d4469a075ebe3c1b68 /autoload
parentac7f69063db30edfad14fac19b9d06be487885b1 (diff)
downloadale-3ef98f42bdb0d692346d4aab29bd0809a6d5bdd4.zip
Fix #783 - Do not run Flow with home directory configuration files by default
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/engine.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index f65108ff..811b2438 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -27,6 +27,11 @@ endfunction
" Check if files are executable, and if they are, remember that they are
" for subsequent calls. We'll keep checking until programs can be executed.
function! ale#engine#IsExecutable(buffer, executable) abort
+ if empty(a:executable)
+ " Don't log the executable check if the executable string is empty.
+ return 0
+ endif
+
if has_key(s:executable_cache_map, a:executable)
return 1
endif