mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 08:00:14 +08:00
#904 Do less processing when newer NeoVim versions are exiting
This commit is contained in:
1 parent
40e69794eb
commit
69d6ff6020
2 files changed
+10
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user