Vim xml runtime files
The official XML runtime files for Vim. They include:
- XML filetype plugin
- XML indent script
- XML format script
- XML syntax script
Once in a while, a snapshot from here will be send to Bram for inclusion and distribution with Vim
This filetype plugin contains an xmlformatting plugin in the autoload directory:
A Vim plugin to pretty print xml
This plugin tries to format xml prettier. To use it, set the formatexpr
option in Vim to xmlformat#Format()
and reformat your document using gq
Use the plugin manager of your choice.
In your XML document enter:
:set formatexpr=xmlformat#Format()
Then reformat using gq
© 2018 by Christian Brabandt. The Vim license (see :h license
) applies to the Vim plugin, the shell script is licensed under the BSD license.
NO WARRANTY, EXPRESS OR IMPLIED. USE AT-YOUR-OWN-RISK