neovim/runtime/indent
Christian Clason ba613d63c4 vim-patch:5eb9cb53d619
runtime(racket): update Racket runtime files (vim/vim#13693)

This brings the included Racket runtime files to commit 43bfc87 (update
headers, 2023-12-15) of https://github.com/benknoble/vim-racket. Note
that not all files from that repository are included. (In particular,
the ftdetect script is omitted for now.)

5eb9cb53d6

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
2023-12-16 15:57:22 +01:00
..
testdir
aap.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
ada.vim
ant.vim
automake.vim
awk.vim
bash.vim vim-patch:e8d6f03f6a61 2023-08-23 20:36:16 +01:00
basic.vim
bib.vim
bitbake.vim
bst.vim
bzl.vim
c.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
cdl.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
ch.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
chaiscript.vim
changelog.vim
chatito.vim
clojure.vim
cmake.vim vim-patch:3afc9f2556fa 2023-12-15 10:30:13 +01:00
cobol.vim
config.vim
context.vim
cpp.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
cs.vim
css.vim
cucumber.vim
cuda.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
d.vim
dictconf.vim
dictdconf.vim
docbk.vim
dosbatch.vim
dtd.vim
dtrace.vim
dts.vim
dune.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
dylan.vim
eiffel.vim
elm.vim
erlang.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
eruby.vim
eterm.vim
expect.vim
falcon.vim
fennel.vim
fish.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
fortran.vim vim-patch:6863084d3bd0 2023-12-06 14:59:38 +01:00
framescript.vim
freebasic.vim
gitconfig.vim
gitolite.vim
go.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
gyp.vim
haml.vim
hamster.vim
hare.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
hog.vim
html.vim vim-patch:e8d6f03f6a61 2023-08-23 20:36:16 +01:00
htmldjango.vim
idlang.vim
ishd.vim
j.vim
java.vim
javascript.vim
javascriptreact.vim
json.vim
jsonc.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
jsp.vim
julia.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
kotlin.vim vim-patch:e30d8e4ce01d 2023-09-17 22:52:56 +02:00
krl.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
ld.vim
less.vim
lifelines.vim
liquid.vim
lisp.vim
livebook.vim
logtalk.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
lua.vim vim-patch:9fa35b1c38b8 2023-08-21 20:32:28 +09:00
luau.vim
mail.vim vim-patch:e8d6f03f6a61 2023-08-23 20:36:16 +01:00
make.vim
Makefile
matlab.vim
meson.vim
mf.vim
mma.vim
mp.vim
nginx.vim
nsis.vim vim-patch:3fc7a7e44abd 2023-08-24 11:33:06 +09:00
objc.vim
obse.vim
ocaml.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
occam.vim
pascal.vim
perl.vim vim-patch:4e554d282c50 2023-09-09 08:29:50 +02:00
php.vim vim-patch:3170342af304 2023-09-05 08:48:47 +02:00
postscr.vim
pov.vim
prolog.vim
ps1.vim
pyrex.vim
python.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
qb64.vim
qml.vim vim-patch:9.0.1766: Runtime: Missing QML support 2023-08-21 10:13:44 +09:00
quarto.vim
query.lua
r.vim
racket.vim vim-patch:5eb9cb53d619 2023-12-16 15:57:22 +01:00
raku.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
raml.vim
rapid.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
readline.vim
README.txt vim-patch:96d6c4aabed1 2023-08-23 20:31:08 +01:00
rhelp.vim
rmd.vim
rnoweb.vim
rpl.vim
rrst.vim
rst.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
ruby.vim vim-patch:da16a1b471aa 2023-09-02 11:08:29 +02:00
rust.vim vim-patch:fc93594d562d 2023-09-13 17:23:45 +02:00
sas.vim
sass.vim
scala.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
scheme.vim
scss.vim
sdl.vim
sh.vim
sml.vim
solidity.vim vim-patch:e34b51e95fd0 2023-08-24 11:33:06 +09:00
sql.vim
sqlanywhere.vim
sshconfig.vim
systemverilog.vim vim-patch:dbf749bd5aae (#25665) 2023-10-16 16:36:25 +08:00
tcl.vim
tcsh.vim
teraterm.vim
tex.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
tf.vim
tilde.vim
treetop.vim
typescript.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
typescriptreact.vim vim-patch:813a538bb3ce 2023-11-25 17:33:05 +01:00
vb.vim
verilog.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
vhdl.vim vim-patch:0382f05dbd65 2023-08-29 11:32:46 +02:00
vim.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
vroom.vim
vue.vim
wat.vim vim-patch:9.0.2104: wast filetype should be replaced by wat filetype 2023-11-14 21:51:28 +01:00
xf86conf.vim
xhtml.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
xinetd.vim
xml.vim
xsd.vim
xslt.vim
yacc.vim
yaml.vim
zig.vim
zimbu.vim vim-patch:e978b4534a5e (#24697) 2023-08-13 13:25:10 +01:00
zsh.vim

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

If you are the maintainer of an indent file and make improvements, e-mail the
new version to the vim-dev mailing list: <vim-dev@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.