diff --git a/plugin/goyo.vim b/plugin/goyo.vim index ab51e83..bb34b82 100644 --- a/plugin/goyo.vim +++ b/plugin/goyo.vim @@ -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!