I am using this plugin which only ships with 'after' directory, containing 'plugin' and 'syntax' directories.
Here, it looks like the 'after' directory is added to run time path as well.
If I manually move the 'plugin' and 'syntax' directories to the bundles/indentLine root the plugin works, the commands are recognized.
Any suggestions on what's going wrong? How do I debug? How do I add print statements in there?
EDIT: I am going to clarify this a little more.
I have a directory layout ~/.vim/bundles. All of my plugins that are from gitrepos are here, so you are looking at something like -
Output:
~/.vim/bundle
|-- nerdtree
| |-- syntax
| `-- plugin
|-- indentLine
| `-- after
| `-- syntax
| `-- plugin
`-- vim-surround
|-- syntax
`-- plugin
scriptnames includes nerdtree and vim-surround. However, indentLine doesn't show up in scriptnames. If I move the "syntax" and "plugin" directories from "indentLine\after" into the "indentLine" directory, then indentLine shows up in :scriptnames
as well.
Basically, the :indentLines\after
directory is not looked into for plugins.