Fix #783 - Do not run Flow with home directory configuration files by default

This commit is contained in:
w0rp
2017-11-21 14:37:01 +00:00
parent ac7f69063d
commit 3ef98f42bd
3 changed files with 46 additions and 14 deletions

View File

@@ -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