Ctags 补全c和c++

ctags 补全c 和 c++ ctags索引那个目录?

ctags 补全并不是精确的语义补全,不需要索引一个目录。

只需要你事先生成相应的 tags,然后在编辑 C++文件的时候,指定 tags-table-list 和 company-ctags 就可以了。