mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-17 15:53:42 -05:00
Revert to nested for backwards compat
This commit is contained in:
committed by
Junegunn Choi
parent
e3ed30fdb1
commit
6b6ed27340
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user