sponsor Vim development Vim logo Vim Book Ad

IndentAnything : Write indentations or enhance existing indentations without writing code

 script karma  Rating 62/25, Downloaded by 6828  Comments, bugs, improvements  Vim wiki

created by
Tye Zdrojewski
script type
The IndentAnything plugin is intended to make it easier to write new indentation scripts and/or supplement existing ones.  It makes the assumption that all indentable languages have similar characteristics:

- blocks of code or text over multiple lines
- continuation lines
- comments

The rules of indentation are specified in a series of variables.  Explanation is provided in the included doc/IndentAnything.txt help file.

An example HTML indentation enhancement is also included.
install details
cd ~/.vim
tar zxvf IndentAnything.tar.gz

If you want the help to be searchable:
:helptags ~/.vim/doc

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
IndentAnything.tar.gz 1.2.2 2009-03-16 7.0 Tye Zdrojewski Bug fix and backed off version 1.3
IndentAnything.tar.gz 1.2.1 2007-11-01 7.0 Tye Zdrojewski Added Apache2 license and test file.
IndentAnything.tar.gz 1.2 2007-04-15 7.0 Tye Zdrojewski Fixed an issue with block comments being improperly affected by line continuations.
IndentAnything.tar.gz 1.1 2007-03-28 7.0 Tye Zdrojewski Not a functional change.  Changed a bad example in documentation.
IndentAnything.tar.gz 1.0 2007-03-27 7.0 Tye Zdrojewski Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.