Christian Clason 8634bd46b2 vim-patch:9.1.1042: filetype: just files are not recognized vor 3 Wochen
..
testdir a785be9cc7 vim-patch:0acd3ab: runtime(sh): better function support for bash/zsh in indent script vor 2 Monaten
Makefile 27fb03f5a0 vim-patch:7ff78465f705 vor 3 Jahren
README.txt 947e6d9346 vim-patch:96d6c4aabed1 vor 1 Jahr
aap.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
ada.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
ant.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
arduino.vim 2dfce05ec9 vim-patch:957d903cb7af vor 8 Monaten
astro.vim 7b8e582f1c vim-patch:d3ff129ce8c6 vor 9 Monaten
automake.vim 93fb7383a3 vim-patch:214641f77df6 vor 7 Jahren
awk.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
bash.vim 23cc36bd99 vim-patch:e8d6f03f6a61 vor 1 Jahr
basic.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) vor 3 Jahren
bib.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
bitbake.vim 4cbeedf57b vim-patch:b529cfbd04c0 (#19501) vor 2 Jahren
bst.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) vor 2 Jahren
bzl.vim e31652879e vim-patch:partial 53f7fccc9413 (#15631) vor 3 Jahren
c.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
cdl.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
ch.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
chaiscript.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
changelog.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
chatito.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) vor 2 Jahren
clojure.vim ac1dd046c0 vim-patch:46eea444d (#17920) vor 2 Jahren
cmake.vim 34f008e247 vim-patch:3afc9f2556fa vor 1 Jahr
cobol.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
config.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
context.vim 8d3f8f639b vim-patch:46fceaaa8d14 vor 7 Jahren
cpp.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
cs.vim 6eaf10502c vim-patch:partial:63f32603789d (#18916) vor 2 Jahren
css.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
cucumber.vim 1ef60ea651 vim-patch:715a8058895f vor 1 Jahr
cuda.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
d.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
dictconf.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
dictdconf.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
docbk.vim 93fb7383a3 vim-patch:214641f77df6 vor 7 Jahren
dosbatch.vim 9f392c071a vim-patch:partial 079ba76ae7a7 (#16126) vor 3 Jahren
dtd.vim e651ae5864 vim-patch:d592deb33652 (#19002) vor 2 Jahren
dtrace.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
dts.vim c11986ed1a vim-patch:b7398fe41c9e (#23627) vor 1 Jahr
dune.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
dylan.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
eiffel.vim c348f84f21 vim-patch:036986f1507d vor 7 Jahren
elm.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
erlang.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
eruby.vim 6fed505100 vim-patch:d09091d4955c vor 5 Jahren
eterm.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
expect.vim 4cbeedf57b vim-patch:b529cfbd04c0 (#19501) vor 2 Jahren
falcon.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
fennel.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
fish.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
fortran.vim 7121241e5c vim-patch:ea9964a36f94 vor 1 Jahr
framescript.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
freebasic.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) vor 3 Jahren
gdscript.vim f5d59340a6 vim-patch:9b03d3e75b42 (#27059) vor 1 Jahr
gitconfig.vim a39bf01958 vim-patch:3ec574f2b549 vor 7 Jahren
gitolite.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
glsl.vim 79d492a421 vim-patch:9.1.0610: filetype: OpenGL Shading Language files are not detected (#29831) vor 6 Monaten
go.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
graphql.vim adcd9360df vim-patch:4ce1cb5: runtime(graphql): contribute vim-graphql to Vim core vor 1 Monat
gyp.vim 9ca313fb96 vim-patch:9fbdbb814f4a (#20376) vor 2 Jahren
haml.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) vor 2 Jahren
hamster.vim 0ba77f2f31 vim-patch:2286304cdbba vor 3 Jahren
hare.vim 3d39ea3ea9 vim-patch:9.1.0442: hare runtime files outdated (#29011) vor 8 Monaten
hcl.vim 51088b67cb vim-patch:150b507: runtime(hcl,terraform): Add runtime files for HCL and Terraform (#30266) vor 5 Monaten
hog.vim a39bf01958 vim-patch:3ec574f2b549 vor 7 Jahren
html.vim 23cc36bd99 vim-patch:e8d6f03f6a61 vor 1 Jahr
htmldjango.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
idlang.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
idris2.vim 096cb572af vim-patch:5ca8f22: runtime(idris2): include filetype,indent+syntax plugins for (L)Idris2 + ipkg vor 3 Monaten
ishd.vim a39bf01958 vim-patch:3ec574f2b549 vor 7 Jahren
j.vim 52564c9aa2 vim-patch:09c6f265b210 vor 3 Jahren
java.vim c348f84f21 vim-patch:036986f1507d vor 7 Jahren
javascript.vim 6237ac8402 vim-patch:2ecbe53f452e (#19577) vor 2 Jahren
javascriptreact.vim 7ad1d00eaa vim-patch:8.1.1937: errors when using javascriptreact #10885 vor 5 Jahren
json.vim 91a2e7a571 vim-patch:71b6d3397649 (#20144) vor 2 Jahren
json5.vim d3771e68a2 vim-patch:63833bb0217f vor 10 Monaten
jsonc.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
jsp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
julia.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
just.vim 8634bd46b2 vim-patch:9.1.1042: filetype: just files are not recognized vor 2 Wochen
kdl.vim 615e859a0e vim-patch:79da22d: runtime(kdl): fix KdlIndent and kdlComment in indent script (vim/vim#15019) vor 8 Monaten
kotlin.vim 1b74d2bf0a vim-patch:e30d8e4ce01d vor 1 Jahr
krl.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
ld.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
less.vim d69f3bbb0d vim-patch:8feef4f #3444 vor 9 Jahren
lifelines.vim 5fd21b8d3e vim-patch:6c391a74fe90 (#15654) vor 3 Jahren
liquid.vim 75157d2572 vim-patch:47c532e2bc55 (#17780) vor 2 Jahren
lisp.vim a5e846b996 vim-patch:partial: 48c3f4e0bff7 (#19684) vor 2 Jahren
livebook.vim e3f36377c1 vim-patch:71badf9547e8 (#23285) vor 1 Jahr
logtalk.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
lua.vim 28e2e8aa04 vim-patch:c0f7505: runtime(lua): add/subtract a 'shiftwidth' after '('/')' in indentexpr vor 6 Monaten
luau.vim c11986ed1a vim-patch:b7398fe41c9e (#23627) vor 1 Jahr
mail.vim 23cc36bd99 vim-patch:e8d6f03f6a61 vor 1 Jahr
make.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
matlab.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
meson.vim 8cbe100fcc vim-patch:partial 113cb513f76d (#16260) vor 3 Jahren
mf.vim 460d5971f6 vim-patch:2ec618c9feac vor 7 Jahren
mma.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
mojo.vim 26d5253805 vim-patch:fc533c9: runtime(mojo): include mojo ftplugin and indent script vor 7 Monaten
mp.vim 60e68f3096 vim-patch:dc08328821a2 vor 7 Jahren
nginx.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) vor 2 Jahren
nsis.vim 327e3fab9e vim-patch:3fc7a7e44abd vor 1 Jahr
objc.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
obse.vim 868d8d6962 vim-patch:partial:b59ae59a5870 (#21170) vor 2 Jahren
ocaml.vim 79130c0fd3 vim-patch:9.1.0586: ocaml runtime files are outdated vor 7 Monaten
occam.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
odin.vim aa5819f5a5 vim-patch:211211052d04 (#27048) vor 1 Jahr
pascal.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
perl.vim 0bee75818e vim-patch:4e554d282c50 vor 1 Jahr
php.vim 109ff0a73f vim-patch:3170342af304 vor 1 Jahr
postscr.vim a20892c4bc vim-patch:partial 2d8ed0203aed (#18675) vor 2 Jahren
pov.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
prolog.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
proto.vim f35d5afbf1 vim-patch:39eff4c: runtime(proto): Add indent script for protobuf filetype vor 6 Monaten
ps1.vim abb13dde98 vim-patch:130cbfc31235 vor 3 Jahren
pyrex.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
python.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
qb64.vim 79b92da0d2 vim-patch:partial:f10911e5db16 (#17248) vor 3 Jahren
qml.vim f4acacdb53 vim-patch:50dbe16cd818 vor 1 Jahr
quarto.vim 66c384d4e8 vim-patch:partial:dd60c365cd26 (#22437) vor 1 Jahr
query.lua 07db909eb5 docs: misc (#31138) vor 2 Monaten
r.vim 9bb046d1be vim-patch:f9ca139e3aa1 (#27554) vor 11 Monaten
racket.vim c905f16507 vim-patch:8e013b1: runtime(racket): update Racket runtime files vor 2 Monaten
raku.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
raml.vim 80dda68926 vim-patch:ba3ff539303c vor 5 Jahren
rapid.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
readline.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
rhelp.vim 9bb046d1be vim-patch:f9ca139e3aa1 (#27554) vor 11 Monaten
rmd.vim 9bb046d1be vim-patch:f9ca139e3aa1 (#27554) vor 11 Monaten
rnoweb.vim 9bb046d1be vim-patch:f9ca139e3aa1 (#27554) vor 11 Monaten
rpl.vim 330500a5bf vim-patch:cb80aa2d53e5 vor 3 Jahren
rrst.vim 9bb046d1be vim-patch:f9ca139e3aa1 (#27554) vor 11 Monaten
rst.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
ruby.vim 61ccdb2db6 vim-patch:da16a1b471aa vor 1 Jahr
rust.vim c49bcde927 vim-patch:11d5992: runtime(rust): use shiftwidth() in indent script vor 7 Monaten
sas.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
sass.vim 7709597a1d vim-patch:a907c9199216 vor 1 Jahr
scala.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
scheme.vim 5eb604c642 vim-patch:17e0a19: runtime(scheme): update runtime files vor 7 Monaten
scss.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
sdl.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
sh.vim a785be9cc7 vim-patch:0acd3ab: runtime(sh): better function support for bash/zsh in indent script vor 2 Monaten
sml.vim d3068d34cc vim-patch:partial:cbaff5e06ec5 (#18042) vor 2 Jahren
solidity.vim 0b7e1730bc vim-patch:e34b51e95fd0 vor 1 Jahr
sql.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
sqlanywhere.vim 0ba77f2f31 vim-patch:2286304cdbba vor 3 Jahren
sshconfig.vim 65821cc1b9 vim-patch:388a5d4f20b4 vor 3 Jahren
stylus.vim 9e2f378b6d vim-patch:9.1.0386: filetype: stylus files not recognized vor 9 Monaten
systemverilog.vim 3222f0ad00 vim-patch:dbf749bd5aae (#25665) vor 1 Jahr
tcl.vim 0c2a7aa5f7 vim-patch:6e649224926b (#15911) vor 3 Jahren
tcsh.vim 0ba77f2f31 vim-patch:2286304cdbba vor 3 Jahren
teraterm.vim 9f392c071a vim-patch:partial 079ba76ae7a7 (#16126) vor 3 Jahren
terraform.vim 51088b67cb vim-patch:150b507: runtime(hcl,terraform): Add runtime files for HCL and Terraform (#30266) vor 5 Monaten
tex.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
tf.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
thrift.vim 1b5a394ffd vim-patch:011f222: runtime(thrift): add ftplugin, indent and syntax scripts vor 6 Monaten
tilde.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
treetop.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
typescript.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
typescriptreact.vim 03b7d35b54 vim-patch:813a538bb3ce vor 1 Jahr
typst.vim 4182e98752 vim-patch:b66cac1: runtime(typst): add definition lists to formatlistpat, update maintainer vor 2 Monaten
vb.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) vor 2 Jahren
verilog.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
vhdl.vim ae7ab90159 vim-patch:0382f05dbd65 vor 1 Jahr
vim.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
vroom.vim 272f1064c7 vim-patch:1e8ebf8 vor 10 Jahren
vue.vim c4942880be vim-patch:partial:f1dcd14fc5d4 (#21602) vor 2 Jahren
wat.vim 9e2248ab58 vim-patch:9.0.2104: wast filetype should be replaced by wat filetype vor 1 Jahr
xf86conf.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
xhtml.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
xinetd.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
xml.vim 8c720f6b9d vim-patch:partial fa3b72348d88 (#16780) vor 3 Jahren
xsd.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
xslt.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 vor 10 Jahren
yacc.vim 521e91e1c4 vim-patch:ce001a337e28 (#18287) vor 2 Jahren
yaml.vim 77380e1601 vim-patch:c6ed816: runtime(yaml): do not re-indent when commenting out lines vor 5 Monaten
zig.vim 3576776903 vim-patch:86b4816766d9 (#21314) vor 2 Jahren
zimbu.vim cbf54ec2a5 vim-patch:e978b4534a5e (#24697) vor 1 Jahr
zsh.vim 975a610233 vim-patch:f2571c6 vor 9 Jahren

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 the vim-dev mailing list . 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 the vim-dev
mailing list: .

If you are the maintainer of an indent file and make improvements, e-mail the
new version to the vim-dev mailing list: .


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.