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
|
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!
|
||||||
|
|||||||
Reference in New Issue
Block a user