sponsor Vim development Vim logo Vim Book Ad

fgl.vim : Indent script for IBM INFORMIX 4GL/4Js programs

 script karma  Rating 15/6, Downloaded by 1521  Comments, bugs, improvements  Vim wiki

created by
Tim Kim
 
script type
indent
 
description
The script indents IBM INFORMIX 4GL/4Js programs.

Auto-indent happens when you go to the next line or next word after typing
1. A whole keyword (e.g. ELSE, WHEN, ON, ...)
2. A keyword phrase (e.g "BEFORE FIELD", "AFTER FIELD").
 
install details
1. Place the script(fgl.vim) in "indent" directory, which is found where vim editor is installed.
2. Add the following lines in .vimrc/.gvimrc/_vimrc
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
set et ts=3 sw=3 ai
filetype indent on
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 

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
fgl.vim 1.2 2010-03-10 6.0 Tim Kim Handling multi line statement
fgl.vim 1.12 2003-03-10 6.0 Tim Kim Bug fix :
Problem : The ELSE statement is not unindented.
It's fixed.
ip used for rating: 18.119.135.202

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.
   
Vim at Github