Vim: Difficulty setting up ctags. Source in subdirectories don't see tags file in project root

后端 未结 5 995
伪装坚强ぢ
伪装坚强ぢ 2021-01-29 19:25

I\'m trying to get setup with (exuberant) ctags on Vim today and am having difficulty getting it to work properly. I generate my ctags file on the command line with with:

<
5条回答
  •  长情又很酷
    2021-01-29 19:49

    add this to .vimrc file set tags=tags;/

    This will check the current folder for tags file and keep going one directory up all the way to the root folder.

    So you can be in any sub-folder in your project and it'll be able to find the tags files.

提交回复
热议问题