Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vim-xml-ftplugin Say Thanks!

Vim xml runtime files

The official XML runtime files for Vim. They include:

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:

XMLFormat

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

Installation

Use the plugin manager of your choice.

Usage

In your XML document enter:

:set formatexpr=xmlformat#Format()

Then reformat using gq

License & Copyright

© 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