【发布时间】:2019-04-11 00:49:36
【问题描述】:
标题说明了问题,所以这里是上下文。我有一个很小的 C++ 文件
void f(
int x
) { }
void f(
) { }
我在其上运行 ctags。
ctags --recurse --sort=1 --c++-kinds=+p --fields=+iaS --extra=+q --language-force=C++ -f tags f.C
检查标签文件显示 f 的两个条目如预期的那样,具有正确的签名。
当我尝试在 Vim 中使用它时,Vim 使用 ctrl-] 定位函数,但是当我使用 :tnext 和 :tprev 时,消息显示 tag 1 of 2 或 tag 2 of 2 但光标不会在它们之间移动。
【问题讨论】: