刚从原项目更新来的文件:
vim-zenroom2
一直报最后一行的 function 找不到:
Unknown function: s:zenroom_goyo_before
把最后一行注释掉就不报错了(然而功能就没了-。-):
" let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
求一语道破人生迷思。
Thx ;)
1
whatot 2015-07-06 20:33:05 +08:00 1
你看vim-zenroom2的文档
Installation and usage * Install goyo.vim * In command mode type :Goyo Additionally you may want to have a shortcut. Add this to your vimrc: nnoremap <silent> <leader>z :Goyo<cr> 你的goyo.vim在哪? |