The QuitPre event was added in Vim 7.3.544.
This commit is contained in:
parent
c9b9a9ef5e
commit
4d694ad920
@ -75,8 +75,14 @@ augroup syntastic
|
||||
" TODO: the next autocmd should be "autocmd BufWinLeave * if empty(&bt) | lclose | endif"
|
||||
" but in recent versions of Vim lclose can no longer be called from BufWinLeave
|
||||
autocmd BufEnter * call s:BufWinLeaveCleanup()
|
||||
augroup END
|
||||
|
||||
if v:version > 703 || (v:version == 703 && has('patch544'))
|
||||
" QuitPre was added in Vim 7.3.544
|
||||
augroup syntastic
|
||||
autocmd QuitPre * call g:SyntasticLoclistHide()
|
||||
augroup END
|
||||
endif
|
||||
|
||||
|
||||
function! s:BufWinLeaveCleanup()
|
||||
|
Loading…
Reference in New Issue
Block a user