mirror of
https://github.com/junegunn/goyo.vim.git
synced 2025-11-15 14:53:50 -05:00
Add note on script-local funcref (#15)
This commit is contained in:
@@ -64,6 +64,9 @@ let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
|
|||||||
More examples can be found here:
|
More examples can be found here:
|
||||||
[Customization](https://github.com/junegunn/goyo.vim/wiki/Customization)
|
[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
|
Inspiration
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user