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

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.