开发者

How do you get CTRL-] to pick up the '?' in a Ruby method name?

If I generate a tags file for some code with rtags, and then put my cursor in Vim over a method like "confirmed?" and press CTRL-], Vim fails to find the tag because Vim doesn't see the '?' as part of the keyword being l开发者_StackOverflow中文版ooked up. Is there a way to fix this?


:set iskeyword+=?
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜