在Ubuntu上运行Vim:E117:未知功能:病原体#infect

时间:2017-08-06 12:49:58

标签: vim ubuntu-16.04 pathogen

我有一个简单的.vimrc文件。整整3行:

execute pathogen#infect()
syntax on
filetype plugin indent on

但是当我尝试启动vim时,我收到以下错误消息:

Error detected while processing /home/simoonp/.vimrc:
line    1:
E117: Unknown function: pathogen#infect
E15: Invalid expression: pathogen#infect()

我搜索了许多方法,但这个问题还没有解决。

0 个答案:

没有答案