#338 Try and stop ALE from throwing ALEs when run from a sandbox

This commit is contained in:
w0rp
2017-02-14 21:02:49 +00:00
parent 78135103fb
commit c460602cbb
5 changed files with 91 additions and 6 deletions

View File

@@ -73,8 +73,7 @@ let s:cursor_timer = -1
let s:last_pos = [0, 0, 0]
function! ale#cursor#EchoCursorWarningWithDelay() abort
" Do nothing for blacklisted files.
if index(g:ale_filetype_blacklist, &filetype) >= 0
if ale#ShouldDoNothing()
return
endif