首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Vim-complete完全自动完成

Vim-complete完全自动完成
EN

Stack Overflow用户
提问于 2013-11-13 04:18:50
回答 1查看 2.2K关注 0票数 0

我的vim配置在github.com/liuzheng712/config中,您可以用以下步骤重新显示我的问题:

代码语言:javascript
复制
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.pyinput "ihello."时,当您键入"."时,会出现以下错误

代码语言:javascript
复制
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

有人能解决我的问题吗?谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-11-13 04:51:17

您可能在使用绝地-维姆而不是pythoncomplete方面取得了更大的成功。维姆对Python的全神贯注受到了绝地维姆解决的许多错误的困扰。Pythoncomplete可能已经开始解决其中的一些问题,但是这个项目似乎被放弃了。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19945220

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档