/* * Plugin which autoformats an input program. * formatting is based on matching brackets * and indenting based on the brackets * * creates a script file based on switches * to pass to vim which formats the * input files * * Requires that vim is installed * * INVOCATION * ------------------------------ * af [args] [input file] * * ARGS * ------------------------------ * -o [outputfile] --specifies the output file * the formatted code is written to. * If not specified, the output file is * a.txt * * * * EXAMPLE USE * ------------------------------ * af -o formattedoutput.txt unformatted.c * * af unformatted.c * * Author: Christopher Wakeley * Version: 10.13.2013 */