【发布时间】:2021-09-15 09:48:01
【问题描述】:
我已经按照 git 页面上的说明通过 Vundle 安装了 UltiSnips。 :PluginInstall 没有返回任何错误,所以我认为它运行良好。但是,在尝试使用 :UltiSnipsEdit 时,我收到了一组错误:
Error detected while processing function UltiSnips#Edit:
line 8:
E121: Undefined variable: file
E116: Invalid arguments for function len(file)
E15: Invalid expression: !len(file)
我尝试通过以下方式澄清我的目录的路径:
let g:UltiSnipsSnippetDirectories=['/h/usr/.vim/bundle/vim-snippets/UltiSnips/']
这里我使用“usr”来表示我在/h 中的个人用户目录。我同样澄清了我通往 python 的路径,因为another post I saw with the exact same error 对此有疑问。这些都没有奏效。 UltiSnips 目前也根本不起作用,不仅仅是这个命令。
我对 vim 自定义和更一般的 vim 还是很陌生,如果能对此问题有任何见解,我将不胜感激。
【问题讨论】:
-
使用插件的问题跟踪器/支持渠道。