Christian Clason 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
..
testdir c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) il y a 2 ans
Makefile 27fb03f5a0 vim-patch:7ff78465f705 il y a 3 ans
README.txt 0124a7bfa9 vim-patch:75ab590f8504 (#18170) il y a 2 ans
aap.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
ada.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
ant.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
automake.vim 93fb7383a3 vim-patch:214641f77df6 il y a 7 ans
awk.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
bash.vim b1fed1ada9 vim-patch:5be4ceecea55 il y a 3 ans
basic.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) il y a 3 ans
bib.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
bitbake.vim 4cbeedf57b vim-patch:b529cfbd04c0 (#19501) il y a 2 ans
bst.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) il y a 2 ans
bzl.vim e31652879e vim-patch:partial 53f7fccc9413 (#15631) il y a 3 ans
c.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
cdl.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
ch.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
chaiscript.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
changelog.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
chatito.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) il y a 2 ans
clojure.vim ac1dd046c0 vim-patch:46eea444d (#17920) il y a 2 ans
cmake.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
cobol.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
config.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
context.vim 8d3f8f639b vim-patch:46fceaaa8d14 il y a 7 ans
cpp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
cs.vim 6eaf10502c vim-patch:partial:63f32603789d (#18916) il y a 2 ans
css.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
cucumber.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
cuda.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
d.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
dictconf.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
dictdconf.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
docbk.vim 93fb7383a3 vim-patch:214641f77df6 il y a 7 ans
dosbatch.vim 9f392c071a vim-patch:partial 079ba76ae7a7 (#16126) il y a 3 ans
dtd.vim e651ae5864 vim-patch:d592deb33652 (#19002) il y a 2 ans
dtrace.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
dune.vim c1dd4e83b4 vim-patch:7e6a515ed14e il y a 3 ans
dylan.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
eiffel.vim c348f84f21 vim-patch:036986f1507d il y a 7 ans
elm.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
erlang.vim 06f4edc864 vim-patch:partial:f269eabc6c4f (#20470) il y a 2 ans
eruby.vim 6fed505100 vim-patch:d09091d4955c il y a 5 ans
eterm.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
expect.vim 4cbeedf57b vim-patch:b529cfbd04c0 (#19501) il y a 2 ans
falcon.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
fennel.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
fish.vim ee26b227e1 vim-patch:partial:938ae280c79b (#22356) il y a 2 ans
fortran.vim a20892c4bc vim-patch:partial 2d8ed0203aed (#18675) il y a 2 ans
framescript.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
freebasic.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) il y a 3 ans
gitconfig.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
gitolite.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
go.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
gyp.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) il y a 2 ans
haml.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) il y a 2 ans
hamster.vim 0ba77f2f31 vim-patch:2286304cdbba il y a 3 ans
hare.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) il y a 2 ans
hog.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
html.vim 6237ac8402 vim-patch:2ecbe53f452e (#19577) il y a 2 ans
htmldjango.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
idlang.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
ishd.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
j.vim 52564c9aa2 vim-patch:09c6f265b210 il y a 3 ans
java.vim c348f84f21 vim-patch:036986f1507d il y a 7 ans
javascript.vim 6237ac8402 vim-patch:2ecbe53f452e (#19577) il y a 2 ans
javascriptreact.vim 7ad1d00eaa vim-patch:8.1.1937: errors when using javascriptreact #10885 il y a 5 ans
json.vim 91a2e7a571 vim-patch:71b6d3397649 (#20144) il y a 2 ans
jsonc.vim dce50312e1 vim-patch:90df4b9 (#15494) il y a 3 ans
jsp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
julia.vim e651ae5864 vim-patch:d592deb33652 (#19002) il y a 2 ans
krl.vim 0124a7bfa9 vim-patch:75ab590f8504 (#18170) il y a 2 ans
ld.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
less.vim d69f3bbb0d vim-patch:8feef4f #3444 il y a 9 ans
lifelines.vim 5fd21b8d3e vim-patch:6c391a74fe90 (#15654) il y a 3 ans
liquid.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) il y a 2 ans
lisp.vim a5e846b996 vim-patch:partial: 48c3f4e0bff7 (#19684) il y a 2 ans
logtalk.vim 228bc4c416 vim-patch:d473c8c10126 il y a 6 ans
lua.vim 67df3347fd vim-patch:9712ff1288f9 (#20240) il y a 2 ans
mail.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
make.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
matlab.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
meson.vim 8cbe100fcc vim-patch:partial 113cb513f76d (#16260) il y a 3 ans
mf.vim 460d5971f6 vim-patch:2ec618c9feac il y a 7 ans
mma.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
mp.vim 60e68f3096 vim-patch:dc08328821a2 il y a 7 ans
nginx.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) il y a 2 ans
nsis.vim 9f392c071a vim-patch:partial 079ba76ae7a7 (#16126) il y a 3 ans
objc.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
obse.vim 868d8d6962 vim-patch:partial:b59ae59a5870 (#21170) il y a 2 ans
ocaml.vim c1dd4e83b4 vim-patch:7e6a515ed14e il y a 3 ans
occam.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
pascal.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
perl.vim e651ae5864 vim-patch:d592deb33652 (#19002) il y a 2 ans
php.vim e7f6c52014 vim-patch:b17893aa940d il y a 3 ans
postscr.vim a20892c4bc vim-patch:partial 2d8ed0203aed (#18675) il y a 2 ans
pov.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
prolog.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
ps1.vim abb13dde98 vim-patch:130cbfc31235 il y a 3 ans
pyrex.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
python.vim 4cbeedf57b vim-patch:b529cfbd04c0 (#19501) il y a 2 ans
qb64.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) il y a 3 ans
quarto.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
query.lua aefdc6783c chore: format runtime with stylua il y a 2 ans
r.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
racket.vim 0903702634 vim-patch:9b03d3e75b42 (#20013) il y a 2 ans
raku.vim 3bc852cabf vim-patch:11e3c5ba8203 il y a 3 ans
raml.vim 80dda68926 vim-patch:ba3ff539303c il y a 5 ans
readline.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
rhelp.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
rmd.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
rnoweb.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
rpl.vim 330500a5bf vim-patch:cb80aa2d53e5 il y a 3 ans
rrst.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) il y a 2 ans
rst.vim e612a0a76a vim-patch:d1caa941d876 il y a 3 ans
ruby.vim ac1dd046c0 vim-patch:46eea444d (#17920) il y a 2 ans
rust.vim a39bf01958 vim-patch:3ec574f2b549 il y a 7 ans
sas.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
sass.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) il y a 2 ans
scala.vim 1a9d2a4040 vim-patch:89a9c159f23f #15641 il y a 3 ans
scheme.vim 733b4ce033 vim-patch:7254067ee970 il y a 6 ans
scss.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
sdl.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
sh.vim 8c720f6b9d vim-patch:partial fa3b72348d88 (#16780) il y a 3 ans
sml.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) il y a 2 ans
solidity.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) il y a 2 ans
sql.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
sqlanywhere.vim 0ba77f2f31 vim-patch:2286304cdbba il y a 3 ans
sshconfig.vim 65821cc1b9 vim-patch:388a5d4f20b4 il y a 3 ans
systemverilog.vim a5e846b996 vim-patch:partial: 48c3f4e0bff7 (#19684) il y a 2 ans
tcl.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
tcsh.vim 0ba77f2f31 vim-patch:2286304cdbba il y a 3 ans
teraterm.vim 9f392c071a vim-patch:partial 079ba76ae7a7 (#16126) il y a 3 ans
tex.vim 5fd21b8d3e vim-patch:6c391a74fe90 (#15654) il y a 3 ans
tf.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
tilde.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
treetop.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
typescript.vim 5fd21b8d3e vim-patch:6c391a74fe90 (#15654) il y a 3 ans
vb.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) il y a 2 ans
verilog.vim 5fd21b8d3e vim-patch:6c391a74fe90 (#15654) il y a 3 ans
vhdl.vim 4175dfac9a vim-patch:01164a6546b4 il y a 7 ans
vim.vim 4bf005e9fd vim-patch:partial 0daafaa7d99e (#20083) il y a 2 ans
vroom.vim 272f1064c7 vim-patch:1e8ebf8 il y a 10 ans
vue.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) il y a 2 ans
wast.vim 4f67f5ba6e vim-patch:d2855f5454c5 il y a 6 ans
xf86conf.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
xhtml.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
xinetd.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
xml.vim 8c720f6b9d vim-patch:partial fa3b72348d88 (#16780) il y a 3 ans
xsd.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
xslt.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 il y a 10 ans
yacc.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) il y a 2 ans
yaml.vim 4bf005e9fd vim-patch:partial 0daafaa7d99e (#20083) il y a 2 ans
zig.vim 3576776903 vim-patch:86b4816766d9 (#21314) il y a 2 ans
zimbu.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) il y a 3 ans
zsh.vim 975a610233 vim-patch:f2571c6 il y a 9 ans

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.