Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想禁用 Vim 中某些文件类型的插件。我是 Vim 新手,所以慢慢来 :)
我有 autocomplpop 插件,我真的很喜欢它。但是,如果我正在编辑 LaTeX 文件,它会显示我已经使用过的每个英语单词的补全。让人分心!我想为 .tex 文件禁用它,但我不知道该怎么做。
谢谢!
启用文件类型插件后,尝试将其放入 .vimrc 中。
autocmd FileType tex :AcpDisable
这应该禁用 tex 文件的自动完成。