gpt4 book ai didi

python - 为什么某些 Vim 插件需要 "source"?

转载 作者:太空宇宙 更新时间:2023-11-03 19:35:12 25 4
gpt4 key购买 nike

来自autotag.vim :

install details

Simply source the fileautoTag.vim from your .vimrc file.This utility will (obviously) onlywork when using vim that's beencompiled with python support.

是否需要这个,因为这是 vim 中的 Python 插件,而不是 vim 脚本? .vim/plugin 中的插件不是自动加载的吗?

这个插件只有在我获取它时才有效。这是预期的行为吗,因为我正在使用 pathogen

最佳答案

没有什么区别:如果你把它放在 .vim/plugin 中,你就不需要从其他地方获取它。

附录

正如 Randy Morris 在评论中所解释的那样,凭借 pathogen.vim 的魔力,放置脚本的等效插件路径实际上是 .vim/bundle/autotag/plugin.

关于python - 为什么某些 Vim 插件需要 "source"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3925562/

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