Skip to content

Commit

Permalink
Fix E1312 when quitting a window
Browse files Browse the repository at this point in the history
The idea is taken from README.md of MattLombana/dotfiles

Fixes preservim#851
  • Loading branch information
yousong authored Feb 29, 2024
1 parent 12edcb5 commit 43104f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/tagbar.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3541,7 +3541,7 @@ function! s:HandleOnlyWindow() abort

try
try
quit
call timer_start(0, {-> execute('q', 'silent!') })
catch /.*/ " This can be E173 and maybe others
call s:OpenWindow('')
echoerr v:exception
Expand Down

0 comments on commit 43104f3

Please sign in to comment.