gregsexton/MatchTag

Pathogen incompatibility due to folder name

Cisplatin opened this issue · 4 comments

Pathogen only finds plugins if the .vim files are in a folder called plugin. Because it's called ftplugin instead, pathogen doesn't not automatically install the plugin.

If there's no reason to call it ftplugin, changing it to plugin would decrease friction for users.

Are you sure this is true? I have plenty of plugins using pathogen that have an ftplugin component.

I've tested it on both mine and my friends' Mac, using vim 7.4, and the latest version of pathogen (undefined?).

Seems like it affects other people as well, judging by the second answer of http://stackoverflow.com/questions/3383502/pathogen-does-not-load-plugins

If you do decide to change the name, I have a PR set up at #35

@Cisplatin @gregsexton I had the same problem with another plugin. But the real problem must be in Pathogen. I don't think it is a good idea to merge a pull request that simply renames ftplugin to plugin since ftplugin directories are for specific filetypes. After renaming, the plugin will load whenever vim starts, independently of filetype, and this could lead to conflict problems.

I would agree with @Laranjadinho that this is definitely not a problem with the plugin but in this case by the plugin manager. Doesn't make sense to merge this in as its directly against the purpose of the filetype features in vim.