#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 b7c79974bb
commit 9691649b65

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