sponsor Vim development Vim logo Vim Book Ad

sh.vim : Indenting for Shell script

 script karma  Rating -2/2, Downloaded by 156    Comments, bugs, improvements  Vim wiki

created by
Clavelito Cla
 
script type
indent
 
description
Indenting for Shell script.

Indent levels at case labels keep the next line in the case line.
Or it can indenting using default shiftwidth. Please set the next line to vimrc.
let g:sh_indent_case_labels = 1

Consideration is kept for indent levels of inside the here document, when it is re-indent.
When here document finished, indent levels will be returned.
Also, indent levels of IFS is similar.
 
install details
Please install to ~/.vim/indent/
 

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
sh.vim 1.21 2013-02-06 7.0 Clavelito Cla minor update
ip used for rating: 54.235.20.17

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.
   
SourceForge.net Logo