#446 Do not run ALE if inside of a command window

This commit is contained in:
w0rp 2017-04-03 19:21:11 +01:00
parent 1f7679e619
commit 80a16668c9

View file

@ -11,6 +11,7 @@ function! ale#ShouldDoNothing() abort
" Do nothing for blacklisted files
" OR if ALE is running in the sandbox
return index(g:ale_filetype_blacklist, &filetype) >= 0
\ || (exists('*getcmdwintype') && !empty(getcmdwintype()))
\ || ale#util#InSandbox()
endfunction