Add note on script-local funcref (#15)

This commit is contained in:
Junegunn Choi
2014-01-17 23:47:36 +09:00
parent 5a663f2d37
commit b727d696ca

View File

@@ -64,6 +64,9 @@ let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
More examples can be found here:
[Customization](https://github.com/junegunn/goyo.vim/wiki/Customization)
(If you get the error `Unknown function: s:goyo_before`, define the callback
functions as globals. e.g. `g:goyo_before`)
Inspiration
-----------