#1875 Do not lint and so on when an operator is pending

This commit is contained in:
w0rp
2018-09-03 13:59:56 +01:00
parent a746ea2bfc
commit fddbfdef12
2 changed files with 22 additions and 1 deletions

View File

@@ -62,6 +62,11 @@ function! ale#ShouldDoNothing(buffer) abort
return 1
endif
" Don't start linting and so on when an operator is pending.
if ale#util#Mode(1) is# 'no'
return 1
endif
" Do nothing if running in the sandbox.
if ale#util#InSandbox()
return 1