Reindent is a project mainly written in Vim Script, it's free.
Reindent a complete file based on indent information taken out of indent file.
This is a mirror of http://www.vim.org/scripts/script.php?script_id=633
If you like well formatted files use this plugin to chage the indention of a complete file.
Annotations: The indention information is taken out of the VIM Indent-files. This script processes them in a little different way than vim itself, therefore it is possible that the indent-functions have to be rewritten before they work. This script tries to rewrite the indent functions automatically (during this a file "reindent.tmp" will be created in your current working directory). There may be indent functions out there that don't work with this script because they are too complex to be rewriten automatically with my code.
Preconditions:
Usage: