I have a plugin/smartcom.vim
that I don't want to load for a filetype
I have called cheat
(for cheatsheets). The smartcom plugin has tab completion that I don't need for my cheat files.
I tried moving the plugin to the /after/plugin
directory and added:
let g:loaded_smartcom = 1
let loaded_smartcom = 1
to the ftplugin/cheat.vim
file because The smartcom.vim
file has this in it:
" If already loaded, we're done...
if exists("loaded_smartcom")
finish
endif
let loaded_smartcom = 1
I also removed a runtime plugin/smartcom.vim
line that was in my .vimrc
file.
Despite all this, the plugin still has the tab completion feature. If I remove the plugin totally, cheat files no longer have tab completion so it's definitely this plugin creating the feature.
Is there anything else I can do or try?