Index of /www001/src/ports/editors/vim-lite/work/vim71/runtime/indent

      Name                    Last modified       Size  Description

[DIR] Parent Directory 03-Jan-2008 02:23 - [   ] GenericIndent.vim 30-Apr-2006 08:54 12k [   ] aap.vim 24-Jun-2005 02:28 1k [   ] ada.vim 05-May-2007 10:25 11k [   ] ant.vim 07-Jun-2004 07:32 1k [   ] automake.vim 30-Apr-2006 08:52 1k [   ] awk.vim 07-Jun-2004 07:32 7k [   ] bib.vim 28-Mar-2005 10:29 1k [   ] bst.vim 05-May-2007 11:11 2k [   ] c.vim 27-Mar-2005 09:25 1k [   ] cdl.vim 07-Jun-2004 07:32 4k [   ] ch.vim 30-Apr-2006 08:53 1k [   ] changelog.vim 29-Mar-2005 01:15 1k [   ] cmake.vim 30-Apr-2006 11:41 3k [   ] cobol.vim 05-May-2007 11:08 8k [   ] config.vim 19-Dec-2006 15:32 2k [   ] cpp.vim 07-Jun-2004 07:32 1k [   ] cs.vim 28-Mar-2005 10:35 1k [   ] css.vim 19-Dec-2006 15:32 2k [   ] d.vim 22-Nov-2005 05:09 1k [   ] dictconf.vim 19-Dec-2006 15:32 1k [   ] dictdconf.vim 19-Dec-2006 15:32 1k [   ] docbk.vim 30-Apr-2006 08:53 1k [   ] dylan.vim 07-Jun-2004 07:32 3k [   ] eiffel.vim 09-Dec-2004 13:33 3k [   ] eruby.vim 16-Apr-2007 10:03 2k [   ] eterm.vim 19-Dec-2006 15:32 1k [   ] fortran.vim 16-Nov-2006 12:56 5k [   ] hamster.vim 08-Nov-2006 03:02 1k [   ] html.vim 18-Jun-2006 06:39 7k [   ] htmldjango.vim 29-Jan-2007 17:36 1k [   ] idlang.vim 07-Jun-2004 07:32 2k [   ] ishd.vim 28-Mar-2005 10:37 2k [   ] java.vim 28-Mar-2005 10:43 4k [   ] javascript.vim 22-Jan-2007 11:47 1k [   ] jsp.vim 08-Nov-2006 13:16 1k [   ] ld.vim 19-Dec-2006 15:32 2k [   ] lisp.vim 19-May-2005 13:18 1k [   ] lua.vim 25-Jun-2005 03:52 2k [   ] make.vim 07-May-2007 12:56 3k [   ] matlab.vim 07-Jun-2004 07:32 2k [   ] mma.vim 30-Apr-2006 08:54 2k [   ] mp.vim 07-Jun-2004 07:32 6k [   ] mupad.vim 30-Apr-2006 08:54 1k [   ] objc.vim 07-Jun-2004 07:32 2k [   ] ocaml.vim 15-Apr-2007 15:29 8k [   ] occam.vim 07-Jun-2004 07:32 4k [   ] pascal.vim 05-Jul-2005 01:28 5k [   ] perl.vim 07-Sep-2005 04:34 4k [   ] php.vim 13-Mar-2007 15:43 18k [   ] postscr.vim 07-Jun-2004 07:32 2k [   ] pov.vim 07-Jun-2004 07:32 3k [   ] prolog.vim 07-Jun-2004 07:32 1k [   ] pyrex.vim 24-Jun-2005 02:28 1k [   ] python.vim 18-Jun-2006 09:19 5k [   ] readline.vim 19-Dec-2006 15:33 1k [   ] rpl.vim 28-Mar-2005 10:46 2k [   ] rst.vim 19-Dec-2006 15:33 1k [   ] ruby.vim 20-Mar-2007 06:54 11k [   ] scheme.vim 24-Jun-2005 02:29 1k [   ] sdl.vim 07-Jun-2004 07:32 3k [   ] sh.vim 30-Apr-2006 08:50 1k [   ] sml.vim 21-Apr-2006 11:08 6k [   ] sql.vim 30-Apr-2006 08:55 1k [   ] sqlanywhere.vim 30-Apr-2006 08:55 13k [   ] tcl.vim 19-Dec-2006 15:33 2k [   ] tcsh.vim 30-Jun-2005 10:38 1k [   ] tilde.vim 07-Jun-2004 07:32 1k [   ] vb.vim 28-Mar-2005 10:49 2k [   ] verilog.vim 07-Jun-2004 07:32 7k [   ] vhdl.vim 29-Jan-2007 19:31 13k [   ] vim.vim 06-Jul-2005 12:59 2k [   ] xf86conf.vim 19-Dec-2006 15:33 1k [   ] xhtml.vim 24-Jun-2005 02:29 1k [   ] xinetd.vim 19-Dec-2006 15:33 1k [   ] xml.vim 07-Jun-2004 07:32 2k [   ] xsd.vim 09-Jun-2005 06:57 1k [   ] xslt.vim 07-Jun-2004 07:32 1k [   ] yacc.vim 19-Dec-2006 15:33 1k [   ] zsh.vim 30-Apr-2006 08:53 1k

This directory contains files to automatically compute the indent for a
type of file.

If you want to add your own indent file for your personal use, read the docs
at ":help indent-expression".  Looking at the existing files should give you
inspiration.

If you make a new indent file which would be useful for others, please send it
to Bram@vim.org.  Include instructions for detecting the file type for this
language, by file name extension or by checking a few lines in the file.
And please stick to the rules below.

If you have remarks about an existing file, send them to the maintainer of
that file.  Only when you get no response send a message to Bram@vim.org.

If you are the maintainer of an indent file and make improvements, e-mail the
new version to Bram@vim.org.


Rules for making an indent file:

You should use this check for "b:did_indent":

	" Only load this indent file when no other was loaded yet.
	if exists("b:did_indent")
	  finish
	endif
	let b:did_indent = 1

Always use ":setlocal" to set 'indentexpr'.  This avoids it being carried over
to other buffers.

To trigger the indenting after typing a word like "endif", add the word to the
'cinkeys' option with "+=".

You normally set 'indentexpr' to evaluate a function and then define that
function.  That function only needs to be defined once for as long as Vim is
running.  Add a test if the function exists and use ":finish", like this:
	if exists("*GetMyIndent")
	  finish
	endif

The user may have several options set unlike you, try to write the file such
that it works with any option settings.  Also be aware of certain features not
being compiled in.