Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Vim plugin for certain filetypes

Tags:

vim

macvim

I'd like to disable a plugin for certain filetypes in Vim. I'm a Vim newbie, so take it slow with me :)

I have the autocomplpop plugin, and I really like it. However, if I'm editing a LaTeX file, it shows completions for every single English language word I've already used. It's distracting! I'd like to disable it for .tex files, but I have no idea how to do so.

Thank you!

like image 333
cflewis Avatar asked Jul 30 '10 01:07

cflewis


1 Answers

Try putting this in your .vimrc after you enabled filetype plugins.

autocmd FileType tex :AcpDisable

This should disable the auto completion for tex files.

like image 104
GWW Avatar answered Sep 21 '22 22:09

GWW