标签: plugins vim
如果我有一个插件,我怎么能只在python文件中激活它?
答案 0 :(得分:4)
将其设为ftplugin。 (:h ftplugin)。见Detect filetype from within VIM plugin?
:h ftplugin