From fddbfdef12db62d9dd8f55ef659967817c749930 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 3 Sep 2018 13:59:56 +0100 Subject: #1875 Do not lint and so on when an operator is pending --- autoload/ale.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'autoload') diff --git a/autoload/ale.vim b/autoload/ale.vim index 51c0ce83..3747539b 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -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 -- cgit v1.2.3