mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-19 18:51:14 +08:00
#446 Do not run ALE if inside of a command window
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user