Clean up ALE linter buffer data when buffers are deleted, not unloaded
This commit is contained in:
parent
d2bea5c310
commit
f74e22b938
3 changed files with 14 additions and 15 deletions
|
@ -191,7 +191,7 @@ Execute (g:ale_echo_cursor = 1 should bind cursor events):
|
|||
|
||||
Execute (ALECleanupGroup should include the right commands):
|
||||
AssertEqual [
|
||||
\ 'BufUnload * call ale#engine#Cleanup(str2nr(expand(''<abuf>'')))',
|
||||
\ 'BufDelete * call ale#engine#Cleanup(str2nr(expand(''<abuf>'')))',
|
||||
\ 'QuitPre * call ale#events#QuitEvent(str2nr(expand(''<abuf>'')))',
|
||||
\], CheckAutocmd('ALECleanupGroup')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue