gpt4 book ai didi

plugins - 陷入在 Vim 中安装 Taglist 的困境

转载 作者:行者123 更新时间:2023-12-02 16:57:33 25 4
gpt4 key购买 nike

我试图在 VIM 中安装 Taglist,但我不明白这一步:

If the exuberant ctags utility is not present in your PATH, then set the Tlist_Ctags_Cmd variable to point to the location of the exuberant ctags utility (not to the directory) in the .vimrc file.

这是什么意思?如果有人使用这个插件,可以帮我配置一下吗?

我下载了 ctags 并将变量设置为

:let Tlist_Ctags_Cmd='C:\Program Files\Vim\ctags-5.7\ctags.exe'

但我仍然收到“无法生成标签”错误。

最佳答案

ctags 是一个单独的程序,您需要在系统上安装。

http://ctags.sourceforge.net/

您需要查找适合您的特定操作系统的安装说明。

安装完成后,如果该变量不在您的 PATH 中,您可以按照指定的方式设置该变量

这里似乎有完整的安装信息。

http://vim-taglist.sourceforge.net/faq.html

关于plugins - 陷入在 Vim 中安装 Taglist 的困境,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/851124/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com