V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Tiande
V2EX  ›  Vim

_(:3」∠)_ vim-zenroom2 使劲报错,实在不会调了。

  •  
  •   Tiande ·
    PRO
    · Jul 6, 2015 · 2966 views
    This topic created in 3952 days ago, the information mentioned may be changed or developed.

    刚从原项目更新来的文件:
    vim-zenroom2

    一直报最后一行的 function 找不到:

    Unknown function: s:zenroom_goyo_before
    

    把最后一行注释掉就不报错了(然而功能就没了-。-):

    " let g:goyo_callbacks = [function('s:goyo_before'), function('s:goyo_after')]
    

    求一语道破人生迷思。

    Thx ;)

    2 replies    2015-07-07 07:56:43 +08:00
    whatot
        1
    whatot  
       Jul 6, 2015   ❤️ 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在哪?
    Tiande
        2
    Tiande  
    OP
    PRO
       Jul 7, 2015 via iPhone
    @whatot 这些都装了,然后回家试了试, Debian 下没问题。

    闲暇时间再调试一下,目前先把 win7 下 zenroom 功能禁用了。

    谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1003 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:14 · PVG 02:14 · LAX 11:14 · JFK 14:14
    ♥ Do have faith in what you're doing.