我的 vim 配置在github.com/liuzheng712/config 你可以用这个步骤重新显示我的问题:
git clone https://github.com/liuzheng712/config.git --depth=1
cd config
git submodule init
git submodule update
然后你可以soft-link .vim and .vimrc
到你的$HOME
目录(请备份你自己的.vim和.vimrc文件)
完成所有操作后,当您执行此操作vim test.py
以及input "ihello."
键入"."
以下错误时
Error detected while processing function pythoncomplete#Complete:
line 35:
Traceback (most recent call last):
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 35:
File "<string>", line 1, in <module>
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 35:
File "<string>", line 40, in vimcomplete
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 35:
File "<string>", line 221, in get_completions
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 35:
NameError: global name 're' is not defined
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 36:
E121: Undefined variable: g:pythoncomplete_completions
Press ENTER or type command to continue
Error detected while processing function pythoncomplete#Complete:
line 36:
E15: Invalid expression: g:pythoncomplete_completions
任何人都可以解决我的问题吗?谢谢