Promote the use of GoyoEnter/GoyoLeave events

This commit is contained in:
Junegunn Choi
2014-08-11 03:42:59 +09:00
parent 5c164c916a
commit ab4cb16bae

View File

@@ -41,15 +41,8 @@ Goyo.vim integration
--------------------
```vim
function! GoyoBefore()
Limelight
endfunction
function! GoyoAfter()
Limelight!
endfunction
let g:goyo_callbacks = [function('GoyoBefore'), function('GoyoAfter')]
autocmd User GoyoEnter LimeLight
autocmd User GoyoLeave LimeLight!
```
Acknowledgement