Reputation: 24834
If I have a plugin, how I can activate this only in python files ?
Upvotes: 1
Views: 102
Reputation: 32976
Make it a ftplugin. (:h ftplugin). See Detect filetype from within VIM plugin?
:h ftplugin
Upvotes: 4