A simple VIM plugin to help you pretty print your data.
:Neat to make your current buffer neater. Ranges work as well.
Want to invoke the neatness function of another filetype? Use
To create neatness for your filetypes, add an autoloadable file
and define a global variable with the name
g:neat#<ft>#commands in there. This
variable has to be a list of command strings to be executed on a temporary
buffer provided by neat.vim.
To create a simple definition for files of type
autoload/neat/xml.vim with the following contents:
let neat#xml#commands = [ '%s/></>\r</ge', '%normal ==' ]