#904 Do less processing when newer NeoVim versions are exiting

This commit is contained in:
w0rp committed 2017-10-14 19:22:19 +01:00
1 parent 40e69794eb
commit 69d6ff6020
2 files changed
+10

No files matched your search

+5
View File
@@ -801,6 +801,11 @@ endfunction
" clear the state of everything, and remove the Dictionary for managing
" the buffer.
function! ale#engine#Cleanup(buffer) abort
" Don't bother with cleanup code when newer NeoVim versions are exiting.
if get(v:, 'exiting', v:null) isnot v:null
return
endif
if !has_key(g:ale_buffer_info, a:buffer)
return
endif