未知功能:在启动时拼接#SpliceInit

时间:2012-07-25 10:54:46

标签: vim

我通过 Vundle 安装了 Splice.vim ,但在运行git mergetool时出现了这些错误。这是我的.gitconfig

[merge]¬                                                                         
    tool = splice¬                                                               
[mergetool "splice"]¬                                                            
    cmd = "vim -f $BASE $LOCAL $REMOTE $MERGED -c 'SpliceInit'"¬                 
    trustExitCode = true

你看不到任何原创作品。

我满足要求。 Vim 7.3,Python 2.7.1,Vim支持Python,...

以下是:call splice#SpliceInit()返回的内容:

Error detected while processing function splice#SpliceInit:
line    3:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/adrien/.vim/bundle/splice.vim/autoload/splice.py", line 19, in SpliceInit
    splice.init()
  File "/Users/adrien/.vim/bundle/splice.vim/autoload/splicelib/init.py", line 96, in init
    setlocal_buffers()
  File "/Users/adrien/.vim/bundle/splice.vim/autoload/splicelib/init.py", line 78, in setlocal_buffers
    buffers.hud.open()
  File "/Users/adrien/.vim/bundle/splice.vim/autoload/splicelib/util/bufferlib.py", line 53, in hud
    return Buffer(int(vim.eval("bufnr('__Splice_HUD__')")) - 1)
  File "/Users/adrien/.vim/bundle/splice.vim/autoload/splicelib/util/bufferlib.py", line 10, in __init__
    self._buffer = vim.buffers[i]
    IndexError: no such buffer

有什么想法吗?

0 个答案:

没有答案