Super Shell Indent : Improved indentation for shell scripts
script karma |
Rating 72/33,
Downloaded by 6354 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Tye Zdrojewski |
|
script type |
indent |
|
description |
This is a shell indentation script that calculates the indent level based on begin/end syntax pairs, as opposed to complex conditionals and pattern matching.
This script also introduces indentation for:
case blocks
paren blocks
'[[' blocks
line continuation
It's slower than the stock indentation, but IMHO, it doesn the "right" thing much more often. :)
|
|
install details |
This script was written for and tested on vim 6.3. Earlier versions may not do the right thing...
Place in ~/.vim/indent/ and let 'er rip! |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.15.189.95
|