diff options
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/engine.vim | 5 |
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 |