Revert to nested for backwards compat

This commit is contained in:
David Ben Knoble
2019-06-11 16:17:19 -04:00
committed by Junegunn Choi
parent e3ed30fdb1
commit 6b6ed27340

View File

@@ -260,7 +260,7 @@ function! s:goyo_on(dim)
augroup goyo augroup goyo
autocmd! autocmd!
autocmd TabLeave * ++nested call s:goyo_off() autocmd TabLeave * nested call s:goyo_off()
autocmd VimResized * call s:resize_pads() autocmd VimResized * call s:resize_pads()
autocmd ColorScheme * call s:tranquilize() autocmd ColorScheme * call s:tranquilize()
autocmd BufWinEnter * call s:hide_linenr() | call s:hide_statusline() autocmd BufWinEnter * call s:hide_linenr() | call s:hide_statusline()