mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-17 15:53:42 -05:00
Check if we're closing the right tab
This commit is contained in:
@@ -182,6 +182,11 @@ function! s:goyo_off()
|
||||
return
|
||||
endif
|
||||
|
||||
" Oops, not this tab
|
||||
if !exists('t:goyo_revert')
|
||||
return
|
||||
endif
|
||||
|
||||
" Clear auto commands
|
||||
augroup goyo
|
||||
autocmd!
|
||||
|
||||
Reference in New Issue
Block a user