diff options
author | w0rp <devw0rp@gmail.com> | 2019-04-08 13:42:09 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2019-04-08 13:42:09 +0100 |
commit | 9a0ece1ecb4cddf9eebbc5bfa224764c4b5ad670 (patch) | |
tree | 1032a0f682c3d17ecd1ac4a487579ba43df26b83 /autoload/ale.vim | |
parent | 6d14dc0ac038ab12870fb5d98ff3f569332086bc (diff) | |
download | ale-9a0ece1ecb4cddf9eebbc5bfa224764c4b5ad670.zip |
Fix #2399 - Do not check buffers used for displaying diffs
Diffstat (limited to 'autoload/ale.vim')
-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 cd106887..a887834b 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -43,6 +43,11 @@ function! ale#ShouldDoNothing(buffer) abort return 1 endif + " Do nothing for diff buffers. + if getbufvar(a:buffer, '&diff') + return 1 + endif + " Do nothing for blacklisted files. if index(get(g:, 'ale_filetype_blacklist', []), l:filetype) >= 0 return 1 |