Bram Moolenaar 86b4816766 Update runtime files 1 year ago
..
testdir 3c053a1a5a Update runtime files 2 years ago
Makefile 7ff78465f7 Update runtime files 4 years ago
README.txt 75ab590f85 Update runtime files 2 years ago
aap.vim 1ec484f58e updated for version 7.0092 19 years ago
ada.vim cbaff5e06e Update runtime files 2 years ago
ant.vim 071d4279d6 updated for version 7.0001 20 years ago
automake.vim 214641f77d Runtime file updates. 7 years ago
awk.vim cbaff5e06e Update runtime files 2 years ago
bash.vim 5be4ceecea Update runtime files. 5 years ago
basic.vim f10911e5db Update runtime files 2 years ago
bib.vim 582fd85b02 updated for version 7.0065 19 years ago
bitbake.vim b529cfbd04 Update runtime files 2 years ago
bst.vim 47c532e2bc Update runtime files 2 years ago
bzl.vim 53f7fccc94 Update runtime files 3 years ago
c.vim 582fd85b02 updated for version 7.0065 19 years ago
cdl.vim cbaff5e06e Update runtime files 2 years ago
ch.vim c9b4b05b35 updated for version 7.0g 18 years ago
chaiscript.vim cbaff5e06e Update runtime files 2 years ago
changelog.vim 13fcaaf195 updated for version 7.0066 19 years ago
chatito.vim 9fbdbb814f Update runtime files 2 years ago
clojure.vim 46eea444d9 Update runtime files 2 years ago
cmake.vim cbaff5e06e Update runtime files 2 years ago
cobol.vim 6e64922492 Update runtime files 3 years ago
config.vim 6e64922492 Update runtime files 3 years ago
context.vim 7dd543246a Update runtime files 2 years ago
cpp.vim 5c73622a90 Update runtime files. 15 years ago
cs.vim 63f3260378 Update runtime files 2 years ago
css.vim 6e64922492 Update runtime files 3 years ago
cucumber.vim 3ec574f2b5 Update runtime files. 7 years ago
cuda.vim 5c73622a90 Update runtime files. 15 years ago
d.vim cbaff5e06e Update runtime files 2 years ago
dictconf.vim cbaff5e06e Update runtime files 2 years ago
dictdconf.vim cbaff5e06e Update runtime files 2 years ago
docbk.vim 214641f77d Runtime file updates. 7 years ago
dosbatch.vim 079ba76ae7 Update runtime files 3 years ago
dtd.vim d592deb336 Update runtime files 2 years ago
dtrace.vim 446cb837a0 updated for version 7.2a 16 years ago
dune.vim 7e6a515ed1 Update runtime files. 3 years ago
dylan.vim cbaff5e06e Update runtime files 2 years ago
eiffel.vim 036986f150 Update runtime files. 7 years ago
elm.vim 6e64922492 Update runtime files 3 years ago
erlang.vim f269eabc6c Update runtime files 2 years ago
eruby.vim d09091d495 Update runtime files. 5 years ago
eterm.vim 6e64922492 Update runtime files 3 years ago
expect.vim b529cfbd04 Update runtime files 2 years ago
falcon.vim cbaff5e06e Update runtime files 2 years ago
fennel.vim ce001a337e Update runtime files 2 years ago
fortran.vim 2d8ed0203a Update runtime files. 2 years ago
framescript.vim 6e64922492 Update runtime files 3 years ago
freebasic.vim f10911e5db Update runtime files 2 years ago
gdscript.vim 9b03d3e75b Update runtime files 2 years ago
gitconfig.vim 3ec574f2b5 Update runtime files. 7 years ago
gitolite.vim cbaff5e06e Update runtime files 2 years ago
go.vim 3ec574f2b5 Update runtime files. 7 years ago
gyp.vim 9fbdbb814f Update runtime files 2 years ago
haml.vim 47c532e2bc Update runtime files 2 years ago
hamster.vim 2286304cdb Update runtime files 3 years ago
hare.vim 9fbdbb814f Update runtime files 2 years ago
hog.vim 3ec574f2b5 Update runtime files. 7 years ago
html.vim 2ecbe53f45 Update runtime files 2 years ago
htmldjango.vim 9964e468c0 updated for version 7.1a 17 years ago
idlang.vim cbaff5e06e Update runtime files 2 years ago
ishd.vim 3ec574f2b5 Update runtime files. 7 years ago
j.vim 09c6f265b2 Update runtime files. 5 years ago
java.vim 036986f150 Update runtime files. 7 years ago
javascript.vim 2ecbe53f45 Update runtime files 2 years ago
javascriptreact.vim 4fb15c6476 patch 8.1.1937: errors when using javascriptreact 5 years ago
json.vim 71b6d33976 Update runtime files 2 years ago
jsonc.vim 90df4b9d42 Update runtime files 3 years ago
jsp.vim 9964e468c0 updated for version 7.1a 17 years ago
julia.vim d592deb336 Update runtime files 2 years ago
krl.vim 75ab590f85 Update runtime files 2 years ago
ld.vim 6e64922492 Update runtime files 3 years ago
less.vim 8feef4ff62 Update runtime files. 10 years ago
lifelines.vim 6c391a74fe Update runtime files 3 years ago
liquid.vim 47c532e2bc Update runtime files 2 years ago
lisp.vim 48c3f4e0bf Update runtime files 2 years ago
logtalk.vim d473c8c101 Update runtime files. 6 years ago
lua.vim 9712ff1288 Update runtime files 2 years ago
mail.vim 6e64922492 Update runtime files 3 years ago
make.vim cbaff5e06e Update runtime files 2 years ago
matlab.vim 6e64922492 Update runtime files 3 years ago
meson.vim 113cb513f7 Update runtime files 3 years ago
mf.vim 7dd543246a Update runtime files 2 years ago
mma.vim cbaff5e06e Update runtime files 2 years ago
mp.vim 7dd543246a Update runtime files 2 years ago
nginx.vim cbaff5e06e Update runtime files 2 years ago
nsis.vim 079ba76ae7 Update runtime files 3 years ago
objc.vim cbaff5e06e Update runtime files 2 years ago
obse.vim b59ae59a58 Update runtime files 2 years ago
ocaml.vim 7e6a515ed1 Update runtime files. 3 years ago
occam.vim cbaff5e06e Update runtime files 2 years ago
pascal.vim 6e64922492 Update runtime files 3 years ago
perl.vim d592deb336 Update runtime files 2 years ago
php.vim b17893aa94 Update runtime files 4 years ago
postscr.vim 2d8ed0203a Update runtime files. 2 years ago
pov.vim ce001a337e Update runtime files 2 years ago
prolog.vim cbaff5e06e Update runtime files 2 years ago
ps1.vim 130cbfc312 Update runtime files 3 years ago
pyrex.vim 0a5fe2140d updated for version 7.0092 19 years ago
python.vim b529cfbd04 Update runtime files 2 years ago
qb64.vim f10911e5db Update runtime files 2 years ago
r.vim fc65cabb15 Update runtime files. 6 years ago
racket.vim 9b03d3e75b Update runtime files 2 years ago
raku.vim 11e3c5ba82 Update runtime files 3 years ago
raml.vim ba3ff53930 Update runtime files 6 years ago
readline.vim 6e64922492 Update runtime files 3 years ago
rhelp.vim cd5c8f8250 Update runtime files. 7 years ago
rmd.vim 11e3c5ba82 Update runtime files 3 years ago
rnoweb.vim fc65cabb15 Update runtime files. 6 years ago
rpl.vim cb80aa2d53 Update runtime files. 4 years ago
rrst.vim 77cdfd1038 Updated runtime files. 8 years ago
rst.vim d1caa941d8 Update runtime files 4 years ago
ruby.vim 46eea444d9 Update runtime files 2 years ago
rust.vim 3ec574f2b5 Update runtime files. 7 years ago
sas.vim cbaff5e06e Update runtime files 2 years ago
sass.vim 47c532e2bc Update runtime files 2 years ago
scala.vim 89a9c159f2 Update runtime files 3 years ago
scheme.vim 7254067ee9 Update runtime files. 6 years ago
scss.vim 0ed0eea206 Updated runtime files. 14 years ago
sdl.vim 6e64922492 Update runtime files 3 years ago
sh.vim fa3b72348d Update runtime files 2 years ago
sml.vim cbaff5e06e Update runtime files 2 years ago
solidity.vim 9fbdbb814f Update runtime files 2 years ago
sql.vim a7241f5f19 updated for version 7.2a 16 years ago
sqlanywhere.vim 2286304cdb Update runtime files 3 years ago
sshconfig.vim 388a5d4f20 Update runtime files 4 years ago
systemverilog.vim 48c3f4e0bf Update runtime files 2 years ago
tcl.vim 6e64922492 Update runtime files 3 years ago
tcsh.vim 2286304cdb Update runtime files 3 years ago
teraterm.vim 079ba76ae7 Update runtime files 3 years ago
tex.vim 6c391a74fe Update runtime files 3 years ago
tf.vim ce001a337e Update runtime files 2 years ago
tilde.vim ce001a337e Update runtime files 2 years ago
treetop.vim ce001a337e Update runtime files 2 years ago
typescript.vim 6c391a74fe Update runtime files 3 years ago
vb.vim 3ec574f2b5 Update runtime files. 7 years ago
verilog.vim 6c391a74fe Update runtime files 3 years ago
vhdl.vim 01164a6546 Long overdue runtime update. 7 years ago
vim.vim 3c053a1a5a Update runtime files 2 years ago
vroom.vim fb539273c9 Updated runtime files. 10 years ago
vue.vim 9fbdbb814f Update runtime files 2 years ago
wast.vim d2855f5454 Update runtime files. 6 years ago
xf86conf.vim ce001a337e Update runtime files 2 years ago
xhtml.vim 29a1c1d374 updated for version 7.0092 19 years ago
xinetd.vim ce001a337e Update runtime files 2 years ago
xml.vim fa3b72348d Update runtime files 2 years ago
xsd.vim 9ba0eb850c updated for version 7.0084 19 years ago
xslt.vim 071d4279d6 updated for version 7.0001 20 years ago
yacc.vim ce001a337e Update runtime files 2 years ago
yaml.vim 0daafaa7d9 Update runtime files 2 years ago
zig.vim 86b4816766 Update runtime files 1 year ago
zimbu.vim 6e64922492 Update runtime files 3 years ago
zsh.vim f2571c61d5 Updated runtime files. 9 years ago

README.txt

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
'indentkeys' 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.

To test the indent file, see testdir/README.txt.