I am trying to use this plugin
I have created a copy of xml.vim
and named it html.vim
.
The problem is that the system ftplugin C:\Program Files
(x86)\Vim\vim74\ftplugin\html.vim
is loaded before the new one.
I have checked this with :scriptnames
.
Once the default html.vim
is loaded the custom one will NEVER work - even if loaded after. My only way of fixing has been to remove/replace the default one with the custom one.
This works fine but I don't like having to edit the system files. Feels like too much of a hack.
Please note that using /ftplugin/after
does not work because the default still gets loaded first and that seems to irretrievably break the custom ftplugin functionality.
On a side note: i would really like the try the more recent xmledit plugin but don't know how to compile the vimball on Windows and I use Vundle (not Pathogen). Help on that front would be great too!
Plugin 'sukima/xmledit'
to your .vimrc. Does that not work? – Rich Feb 24 '16 at 15:15