Generating tags to different location by pathogen

后端 未结 3 1594
孤城傲影
孤城傲影 2020-12-24 08:47

I use pathogen for organizing my vim plugins. I git clone the plugins from github into the vimbundles directory. This way it is simple to update them.

I

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 09:18

    As far as I can tell, pathogen just runs :helptags on the doc directory included in the bundle and vim puts the tags file there. I am not aware of a setting to change this behavior.

    I offer my workaround as it's a bit different than the others since I store all of my bundles as submodules of a larger repo. Rather than modifying the repo's .gitignore or .git/config, I just add ignore = untracked to the submodule's entry in .gitmodules, e.g.:

    [submodule "vim/bundle/nerdcommenter"]
        path = vim/bundle/nerdcommenter
        url = http://github.com/scrooloose/nerdcommenter.git
        ignore = untracked  
    

提交回复
热议问题