diff options
author | w0rp <devw0rp@gmail.com> | 2017-10-14 19:22:19 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-10-14 19:22:19 +0100 |
commit | 69d6ff602028bad13f1522e0770864e43a58427f (patch) | |
tree | 32da87b096e1097993a6e01f393715ae62ed9830 /autoload/ale.vim | |
parent | 40e69794eb0c2f00843b5b0289ab7751986624a6 (diff) | |
download | ale-69d6ff602028bad13f1522e0770864e43a58427f.zip |
#904 Do less processing when newer NeoVim versions are exiting
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 0f916c22..3c5f0478 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -46,6 +46,11 @@ function! ale#ShouldDoNothing(buffer) abort " The checks are split into separate if statements to make it possible to " profile each check individually with Vim's profiling tools. + " Don't perform any checks when newer NeoVim versions are exiting. + if get(v:, 'exiting', v:null) isnot v:null + return 1 + endif + " Do nothing for blacklisted files if index(g:ale_filetype_blacklist, &filetype) >= 0 return 1 |