#446 Do not run ALE if inside of a command window
This commit is contained in:
parent
1f7679e619
commit
80a16668c9
@ -11,6 +11,7 @@ function! ale#ShouldDoNothing() abort
|
|||||||
" Do nothing for blacklisted files
|
" Do nothing for blacklisted files
|
||||||
" OR if ALE is running in the sandbox
|
" OR if ALE is running in the sandbox
|
||||||
return index(g:ale_filetype_blacklist, &filetype) >= 0
|
return index(g:ale_filetype_blacklist, &filetype) >= 0
|
||||||
|
\ || (exists('*getcmdwintype') && !empty(getcmdwintype()))
|
||||||
\ || ale#util#InSandbox()
|
\ || ale#util#InSandbox()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user