mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-04 19:32:50 +08:00
Fix #773 - Do not clear the loclist when closing the loclist window
This commit is contained in:
1 parent
507e32e91c
commit
cad9fc19c6
3 files changed
+50
-1
No files matched your search
@@ -665,6 +665,10 @@ endfunction
|
||||
" clear the state of everything, and remove the Dictionary for managing
|
||||
" the buffer.
|
||||
function! ale#engine#Cleanup(buffer) abort
|
||||
if !has_key(g:ale_buffer_info, a:buffer)
|
||||
return
|
||||
endif
|
||||
|
||||
call ale#engine#RunLinters(a:buffer, [], 1)
|
||||
|
||||
call remove(g:ale_buffer_info, a:buffer)
|
||||
|
||||
Reference in new issue
Block a user