neovim/runtime/indent
Jan Edmund Lazo 31ea80649d
vim-patch:3ec3217f0491
Update runtime files
3ec3217f04

Omit fuzzy-match in pattern.txt.
2021-05-25 22:11:04 -04:00
..
testdir vim-patch:942db23c9cb7 2021-05-01 23:47:11 -04:00
aap.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ada.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
ant.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
automake.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
awk.vim vim-patch:a6c27c47ddf0 2019-08-01 23:27:26 +02:00
bash.vim vim-patch:5be4ceecea55 2021-04-27 09:21:27 -04:00
bib.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
bst.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
bzl.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
c.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cdl.vim vim-patch:dad4473f02e1 2021-05-02 11:51:38 -04:00
ch.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
chaiscript.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
changelog.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
clojure.vim vim-patch:942db23c9cb7 2021-05-01 23:47:11 -04:00
cmake.vim vim-patch:24a98a0eb772 2017-11-07 20:16:48 +01:00
cobol.vim vim-patch:63b74a8362b1 2019-08-01 22:48:28 +02:00
config.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
context.vim vim-patch:46fceaaa8d14 2017-04-29 01:47:36 +02:00
cpp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cs.vim vim-patch:d47d52232bf2 2019-07-29 20:50:07 +02:00
css.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
cucumber.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
cuda.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
d.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dictconf.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
dictdconf.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
docbk.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
dosbatch.vim vim-patch:20aac6c11269 2018-10-29 23:55:45 +01:00
dtd.vim vim-patch:fc65cabb15d0 2018-10-29 23:54:15 +01:00
dtrace.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dune.vim vim-patch:7e6a515ed14e 2021-05-01 22:29:03 -04:00
dylan.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
eiffel.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
elm.vim runtime/elm: acc224064033e5cea21ef7f1eefb356ca06ff11d (#13718) 2021-01-08 19:48:56 -05:00
erlang.vim vim-patch:1d59aa1fdfb1 2021-05-01 01:37:13 -04:00
eruby.vim vim-patch:d09091d4955c 2019-07-29 20:50:07 +02:00
eterm.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
falcon.vim vim-patch:9d87a37ee9d8 2019-07-29 20:50:07 +02:00
fortran.vim vim-patch:e0e391755432 2021-05-01 23:19:58 -04:00
framescript.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
gitconfig.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
gitolite.vim vim-patch:01164a6546b4 2017-11-07 23:07:03 +01:00
go.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
haml.vim vim-patch:c08ee7476b19 2021-04-27 09:21:31 -04:00
hamster.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
hog.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
html.vim vim-patch:942db23c9cb7 2021-05-01 23:47:11 -04:00
htmldjango.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
idlang.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
ishd.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
j.vim vim-patch:09c6f265b210 2021-04-27 09:21:30 -04:00
java.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
javascript.vim vim-patch:f0b03c4e98f8 2018-10-28 13:57:08 +01:00
javascriptreact.vim vim-patch:8.1.1937: errors when using javascriptreact #10885 2019-08-30 06:57:44 +02:00
json.vim vim-patch:1c6737b20a5c 2021-04-29 23:35:37 -04:00
jsp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ld.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
less.vim vim-patch:8feef4f #3444 2015-10-11 18:07:58 -04:00
lifelines.vim runtime: fix executable bit on some files 2014-09-22 05:56:52 -04:00
liquid.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
lisp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
logtalk.vim vim-patch:d473c8c10126 2018-10-29 10:01:44 +01:00
lua.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
mail.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
make.vim vim-patch:4c295027a426 2021-05-02 13:00:38 -04:00
Makefile vim-patch:7ff78465f705 2021-04-28 23:04:14 -04:00
matlab.vim vim-patch:32b364fcc097 2021-04-27 09:21:31 -04:00
meson.vim vim-patch:3ec3217f0491 2021-05-25 22:11:04 -04:00
mf.vim vim-patch:2ec618c9feac 2017-04-28 23:49:16 +02:00
mma.vim vim-patch:a6c27c47ddf0 2019-08-01 23:27:26 +02:00
mp.vim vim-patch:dc08328821a2 2017-04-29 01:01:51 +02:00
nsis.vim vim-patch:40962ec9c0e7 2018-10-28 14:05:14 +01:00
objc.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ocaml.vim vim-patch:7e6a515ed14e 2021-05-01 22:29:03 -04:00
occam.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
pascal.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
perl.vim vim-patch:2c7f8c574f1f 2021-04-28 21:29:56 -04:00
php.vim vim-patch:b17893aa940d 2021-04-27 21:25:35 -04:00
postscr.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
pov.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
prolog.vim vim-patch:95bafa296ae9 2018-10-30 00:02:22 +01:00
ps1.vim vim-patch:130cbfc31235 2021-05-02 12:03:34 -04:00
pyrex.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
python.vim vim-patch:47e13953ffdb 2021-04-28 21:29:57 -04:00
r.vim vim-patch:fc65cabb15d0 2018-10-29 23:54:15 +01:00
raku.vim vim-patch:11e3c5ba8203 2021-05-02 12:53:49 -04:00
raml.vim vim-patch:ba3ff539303c 2019-07-29 20:50:07 +02:00
readline.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
README.txt vim-patch:8.1.0496: no tests for indent files 2019-09-18 22:37:25 +02:00
rhelp.vim vim-patch:cd5c8f825078 2017-11-07 01:16:42 +01:00
rmd.vim vim-patch:11e3c5ba8203 2021-05-02 12:53:49 -04:00
rnoweb.vim vim-patch:fc65cabb15d0 2018-10-29 23:54:15 +01:00
rpl.vim vim-patch:cb80aa2d53e5 2021-05-01 22:29:02 -04:00
rrst.vim vim-patch:77cdfd1 2016-07-08 01:43:36 -04:00
rst.vim vim-patch:d1caa941d876 2021-04-27 22:40:39 -04:00
ruby.vim vim-patch:942db23c9cb7 2021-05-01 23:47:11 -04:00
rust.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
sas.vim vim-patch:6dc819b1299e 2018-10-29 09:39:48 +01:00
sass.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
scala.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
scheme.vim vim-patch:7254067ee970 2018-10-28 14:07:58 +01:00
scss.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sdl.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
sh.vim vim-patch:96f45c0b6fc9 2021-04-27 09:21:28 -04:00
sml.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
sql.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sqlanywhere.vim vim-patch:acc224064033 2021-04-28 21:29:57 -04:00
sshconfig.vim vim-patch:388a5d4f20b4 2021-04-28 21:29:57 -04:00
systemd.vim vim-patch:60cce2f 2016-04-18 21:50:37 -07:00
systemverilog.vim vim-patch:82be4849eed0 2021-05-01 23:19:57 -04:00
tcl.vim vim-patch:30e9b3c42567 (#13936) 2021-03-03 18:19:01 -05:00
tcsh.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
teraterm.vim vim-patch:20aac6c11269 2018-10-29 23:55:45 +01:00
tex.vim tex.vim: patch runtime/indent to 388a5d4f20b4 2020-06-17 12:52:39 +02:00
tf.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
tilde.vim vim-patch:cb80aa2d53e5 2021-05-01 22:29:02 -04:00
treetop.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
typescript.vim runtime/typescript.vim: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470 2020-10-05 23:20:45 -04:00
vb.vim vim-patch:3ec574f2b549 2017-11-07 01:37:30 +01:00
verilog.vim vim-patch:c572da5f67aa 2017-11-07 03:23:37 +01:00
vhdl.vim vim-patch:01164a6546b4 2017-11-07 23:07:03 +01:00
vim.vim vim-patch:11e3c5ba8203 2021-05-02 12:53:49 -04:00
vroom.vim vim-patch:1e8ebf8 2014-12-30 13:51:39 +01:00
wast.vim vim-patch:d2855f5454c5 2018-10-29 09:57:24 +01:00
xf86conf.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
xhtml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
xinetd.vim vim-patch:036986f1507d 2017-11-06 05:35:32 +01:00
xml.vim vim-patch:23515b4ef758 2021-05-01 22:29:03 -04:00
xsd.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
xslt.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
yacc.vim vim-patch:214641f77df6 2017-11-06 05:26:16 +01:00
yaml.vim vim-patch:e0e391755432 2021-05-01 23:19:58 -04:00
zimbu.vim vim-patch:298b440 2016-06-06 23:08:26 -04:00
zsh.vim vim-patch:f2571c6 2015-11-08 03:39:07 +01:00

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