Vim - helptags not working for NERDtree

佐手、 提交于 2019-12-03 23:57:30

You have to give :helptags the directory where the help file (that you want to be parsed) is. For example:

:helptags ~/.vim/doc
inheritsfrom

I had the same problem, and resolved it with tips from another SO thread:

Apparently you need to :Helptags rather than :helptags

I had the same problem, and specifying the directory for :helptags didn't resolve the problem. It didn't return an error, but it also didn't make :help NERD_tree.txt work. The solution that worked for me was installing pathogen.vim, which is recommended in the NERD Tree installation directions. After I did that, :help NERD_tree.txt worked.

This is an old thread which I stumbeld upon. I will post my workaround anyways. maybe it can be usefull for another one searching like I did.

I opened a terminal in .vim/pack/bundle/start/nerdtree/doc and then started vim.

:helptags .

did the trick for me.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!