diff options
author | w0rp <devw0rp@gmail.com> | 2018-09-03 13:59:56 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-09-03 13:59:56 +0100 |
commit | fddbfdef12db62d9dd8f55ef659967817c749930 (patch) | |
tree | c04a1b7f5a765c3a731dbc0ce01c85fbbda063ce /autoload | |
parent | a746ea2bfc1e01b9455d9efec3e95799be4177f2 (diff) | |
download | ale-fddbfdef12db62d9dd8f55ef659967817c749930.zip |
#1875 Do not lint and so on when an operator is pending
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale.vim | 5 |
1 files changed, 5 insertions, 0 deletions
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 |