我的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有人能解决我的问题吗?谢谢
发布于 2013-11-13 04:51:17
您可能在使用绝地-维姆而不是pythoncomplete方面取得了更大的成功。维姆对Python的全神贯注受到了绝地维姆解决的许多错误的困扰。Pythoncomplete可能已经开始解决其中的一些问题,但是这个项目似乎被放弃了。
https://stackoverflow.com/questions/19945220
复制相似问题