mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-12 05:13:52 -05:00
@@ -269,7 +269,9 @@ function! s:goyo_on(dim)
|
|||||||
if exists('g:goyo_callbacks[0]')
|
if exists('g:goyo_callbacks[0]')
|
||||||
call g:goyo_callbacks[0]()
|
call g:goyo_callbacks[0]()
|
||||||
endif
|
endif
|
||||||
silent! doautocmd User GoyoEnter
|
if exists('#User#GoyoEnter')
|
||||||
|
doautocmd User GoyoEnter
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:goyo_off()
|
function! s:goyo_off()
|
||||||
@@ -366,7 +368,9 @@ function! s:goyo_off()
|
|||||||
if exists('g:goyo_callbacks[1]')
|
if exists('g:goyo_callbacks[1]')
|
||||||
call g:goyo_callbacks[1]()
|
call g:goyo_callbacks[1]()
|
||||||
endif
|
endif
|
||||||
silent! doautocmd User GoyoLeave
|
if exists('#User#GoyoLeave')
|
||||||
|
doautocmd User GoyoLeave
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:relsz(expr, limit)
|
function! s:relsz(expr, limit)
|
||||||
|
|||||||
Reference in New Issue
Block a user