Check if we're closing the right tab

This commit is contained in:
Junegunn Choi
2013-12-04 00:45:55 +09:00
parent 0f578fc258
commit b4a1a855a7

View File

@@ -182,6 +182,11 @@ function! s:goyo_off()
return return
endif endif
" Oops, not this tab
if !exists('t:goyo_revert')
return
endif
" Clear auto commands " Clear auto commands
augroup goyo augroup goyo
autocmd! autocmd!