Reputation: 13
My vim config is in github.com/liuzheng712/config You can re-show my problem with this steps:
git clone https://github.com/liuzheng712/config.git --depth=1
cd config
git submodule init
git submodule update
Then you can soft-link .vim and .vimrc
to your $HOME
directory
(Please backup your own .vim and .vimrc files)
After all things are done, when you do vim test.py
and input "ihello."
when you type "."
the following errors come
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
Can any one solve my problem ? Thanks
Upvotes: 0
Views: 2242