Skip to content
This repository has been archived by the owner on Jan 1, 2022. It is now read-only.

Commit

Permalink
no need
Browse files Browse the repository at this point in the history
  • Loading branch information
man9ourah committed Nov 20, 2021
1 parent aba1335 commit c1f70b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugin/taglist.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1807,9 +1807,7 @@ function! s:Tlist_Window_Init()

" Exit Vim itself if only the taglist window is present (optional)
if g:Tlist_Exit_OnlyWindow
if exists('##QuitPre')
autocmd QuitPre * let s:vim_quitting = 1
endif
autocmd QuitPre * let s:vim_quitting = 1
autocmd WinEnter __Tag_List__ nested
\ call s:Tlist_Window_Exit_Only_Window()
endif
Expand Down

0 comments on commit c1f70b2

Please sign in to comment.