• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..30-Apr-201459

aap.vimH A D31-Aug-2009265

ada.vimH A D31-Aug-200910.8 KiB

ant.vimH A D31-Aug-2009290

automake.vimH A D31-Aug-2009231

awk.vimH A D31-Aug-20097.5 KiB

bib.vimH A D31-Aug-2009346

bst.vimH A D31-Aug-20091.9 KiB

c.vimH A D31-Aug-2009325

cdl.vimH A D31-Aug-20094.1 KiB

ch.vimH A D31-Aug-2009470

chaiscript.vimH A D08-Sep-20101.1 KiB

changelog.vimH A D31-Aug-2009264

cmake.vimH A D08-Sep-20102.6 KiB

cobol.vimH A D31-Aug-20098 KiB

config.vimH A D31-Aug-20092.1 KiB

cpp.vimH A D08-Sep-2010329

cs.vimH A D31-Aug-2009327

css.vimH A D31-Aug-20091.7 KiB

cucumber.vimH A D08-Sep-20102.1 KiB

cuda.vimH A D08-Sep-2010305

d.vimH A D31-Aug-2009510

dictconf.vimH A D31-Aug-2009325

dictdconf.vimH A D31-Aug-2009326

docbk.vimH A D31-Aug-2009324

dtd.vimH A D31-Aug-200911.3 KiB

dtrace.vimH A D31-Aug-2009451

dylan.vimH A D31-Aug-20092.6 KiB

eiffel.vimH A D31-Aug-20093 KiB

erlang.vimH A D31-Aug-20095.6 KiB

eruby.vimH A D08-Sep-20102.1 KiB

eterm.vimH A D31-Aug-2009638

fortran.vimH A D08-Sep-20104.7 KiB

framescript.vimH A D31-Aug-2009786

GenericIndent.vimH A D31-Aug-200912 KiB

gitconfig.vimH A D08-Sep-2010773

haml.vimH A D08-Sep-20102.1 KiB

hamster.vimH A D31-Aug-20091.4 KiB

html.vimH A D31-Aug-20097.1 KiB

htmldjango.vimH A D31-Aug-2009273

idlang.vimH A D31-Aug-20091.5 KiB

ishd.vimH A D31-Aug-20091.8 KiB

java.vimH A D31-Aug-20093.6 KiB

javascript.vimH A D08-Sep-2010336

jsp.vimH A D31-Aug-2009462

ld.vimH A D31-Aug-20091.7 KiB

lifelines.vimH A D08-Sep-2010637

liquid.vimH A D08-Sep-20101.9 KiB

lisp.vimH A D31-Aug-2009326

logtalk.vimH A D31-Aug-20091.7 KiB

lua.vimH A D31-Aug-20091.9 KiB

mail.vimH A D08-Sep-2010308

make.vimH A D31-Aug-20093.4 KiB

matlab.vimH A D31-Aug-20091.9 KiB

mma.vimH A D31-Aug-20092.2 KiB

mp.vimH A D31-Aug-20096.3 KiB

mupad.vimH A D31-Aug-20091.2 KiB

objc.vimH A D31-Aug-20091.6 KiB

ocaml.vimH A D31-Aug-20098.3 KiB

occam.vimH A D31-Aug-20094.5 KiB

pascal.vimH A D31-Aug-20094.8 KiB

perl.vimH A D08-Sep-20105.3 KiB

perl6.vimH A D08-Sep-20103.4 KiB

php.vimH A D08-Sep-201018.2 KiB

postscr.vimH A D31-Aug-20091.6 KiB

pov.vimH A D31-Aug-20092.6 KiB

prolog.vimH A D31-Aug-20091.4 KiB

pyrex.vimH A D31-Aug-2009326

python.vimH A D31-Aug-20095.4 KiB

readline.vimH A D31-Aug-2009681

README.txtH A D31-Aug-20091.6 KiB

rpl.vimH A D31-Aug-20091.8 KiB

rst.vimH A D31-Aug-20091.1 KiB

ruby.vimH A D08-Sep-201011.6 KiB

sass.vimH A D08-Sep-2010948

scheme.vimH A D31-Aug-2009241

scss.vimH A D08-Sep-2010191

sdl.vimH A D31-Aug-20092.6 KiB

sh.vimH A D08-Sep-20103.9 KiB

sml.vimH A D31-Aug-20096.3 KiB

sql.vimH A D31-Aug-20091.2 KiB

sqlanywhere.vimH A D31-Aug-200912.7 KiB

tcl.vimH A D31-Aug-20091.6 KiB

tcsh.vimH A D31-Aug-20091.2 KiB

tf.vimH A D08-Sep-20101.5 KiB

tilde.vimH A D31-Aug-2009994

vb.vimH A D08-Sep-20102 KiB

verilog.vimH A D31-Aug-20097.4 KiB

vhdl.vimH A D08-Sep-201013.1 KiB

vim.vimH A D31-Aug-20092.2 KiB

xf86conf.vimH A D31-Aug-2009679

xhtml.vimH A D31-Aug-2009269

xinetd.vimH A D31-Aug-20091.1 KiB

xml.vimH A D08-Sep-20102.7 KiB

xsd.vimH A D31-Aug-2009253

xslt.vimH A D31-Aug-2009297

yacc.vimH A D31-Aug-2009769

zsh.vimH A D31-Aug-2009231

README.txt

1This directory contains files to automatically compute the indent for a
2type of file.
3
4If you want to add your own indent file for your personal use, read the docs
5at ":help indent-expression".  Looking at the existing files should give you
6inspiration.
7
8If you make a new indent file which would be useful for others, please send it
9to Bram@vim.org.  Include instructions for detecting the file type for this
10language, by file name extension or by checking a few lines in the file.
11And please stick to the rules below.
12
13If you have remarks about an existing file, send them to the maintainer of
14that file.  Only when you get no response send a message to Bram@vim.org.
15
16If you are the maintainer of an indent file and make improvements, e-mail the
17new version to Bram@vim.org.
18
19
20Rules for making an indent file:
21
22You should use this check for "b:did_indent":
23
24	" Only load this indent file when no other was loaded yet.
25	if exists("b:did_indent")
26	  finish
27	endif
28	let b:did_indent = 1
29
30Always use ":setlocal" to set 'indentexpr'.  This avoids it being carried over
31to other buffers.
32
33To trigger the indenting after typing a word like "endif", add the word to the
34'cinkeys' option with "+=".
35
36You normally set 'indentexpr' to evaluate a function and then define that
37function.  That function only needs to be defined once for as long as Vim is
38running.  Add a test if the function exists and use ":finish", like this:
39	if exists("*GetMyIndent")
40	  finish
41	endif
42
43The user may have several options set unlike you, try to write the file such
44that it works with any option settings.  Also be aware of certain features not
45being compiled in.
46