大家好!
我在VIM中安装了OmniCppComplete插件进行代码的自动补全,很好用,比如输入a->时,就会将a对象中的成员函数列出来。
我现在的问题是,比如a对象中有一个成员函数是Function1(),当我输入小写的"a->f"时,并不会将该函数列出,必须要输入大写的"a->F"才可以
请问有什么办法可以让OmniCppComplete忽略大小写,即当输入"a->f"时,将"f"和"F"开头的成员都类出来?
VIM+OmniCppComplete自动补全时忽略大小写的问题
-
- 帖子: 2
- 注册时间: 2008-11-26 1:10
-
- 帖子: 403
- 注册时间: 2007-10-27 1:04
Re: VIM+OmniCppComplete自动补全时忽略大小写的问题
看看下面的,应该有所帮助。
*'infercase'* *'inf'* *'noinfercase'* *'noinf'*
'infercase' 'inf' boolean (default off)
local to buffer
{not in Vi}
When doing keyword completion in insert mode |ins-completion|, and
'ignorecase' is also on, the case of the match is adjusted depending
on the typed text. If the typed text contains a lowercase letter
where the match has an upper case letter, the completed part is made
lowercase. If the typed text has no lowercase letters and the match
has a lowercase letter where the typed text has an uppercase letter,
and there is a letter before it, the completed part is made uppercase.
With 'noinfercase' the match is used as-is.
*'infercase'* *'inf'* *'noinfercase'* *'noinf'*
'infercase' 'inf' boolean (default off)
local to buffer
{not in Vi}
When doing keyword completion in insert mode |ins-completion|, and
'ignorecase' is also on, the case of the match is adjusted depending
on the typed text. If the typed text contains a lowercase letter
where the match has an upper case letter, the completed part is made
lowercase. If the typed text has no lowercase letters and the match
has a lowercase letter where the typed text has an uppercase letter,
and there is a letter before it, the completed part is made uppercase.
With 'noinfercase' the match is used as-is.
-
- 帖子: 2
- 注册时间: 2008-11-26 1:10