Skip to content

frimodig1/vim-xml-runtime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Vim filetype plugin for XML files

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 82.1%
  • Shell 16.5%
  • Makefile 1.4%