neovim/runtime/indent
watiko 15b5bb038b vim-patch:f913281
Updated and new runtime files.

f91328100d
2016-03-29 21:58:28 +09:00
..
aap.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ada.vim vim-patch:47b1887 2015-01-20 15:11:00 +01:00
ant.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
automake.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
awk.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
bib.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
bst.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
c.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cdl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ch.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
chaiscript.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
changelog.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
clojure.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cmake.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cobol.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
config.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cpp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cs.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
css.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
cucumber.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00: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 re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dictdconf.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
docbk.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dtd.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dtrace.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
dylan.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
eiffel.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
erlang.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
eruby.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
eterm.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
falcon.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
fortran.vim vim-patch:8a94d87 2015-12-17 21:56:41 -05:00
framescript.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
gitconfig.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
gitolite.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
go.vim vim-patch:1e8ebf8 2014-12-30 13:51:39 +01:00
haml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
hamster.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
html.vim vim-patch:541f92 #4173 2016-02-07 01:13:30 -05:00
htmldjango.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
idlang.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ishd.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
j.vim vim-patch:83caecf 2015-12-17 04:52:20 -05:00
java.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
javascript.vim vim-patch:f2571c6 2015-11-08 03:39:07 +01:00
json.vim vim-patch:6921742 2015-01-04 19:42:30 +01:00
jsp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ld.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00: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 re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
lisp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
logtalk.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
lua.vim vim-patch:c5d53d4 #2695 2015-05-19 12:31:44 -04:00
mail.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
make.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
matlab.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
mma.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
mp.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
objc.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ocaml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
occam.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
pascal.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
perl6.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
perl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
php.vim vim-patch:5d89d9b #2922 2015-08-02 05:17:49 -04:00
postscr.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
pov.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
prolog.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
pyrex.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
python.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
r.vim Update R runtime files 2015-04-03 10:44:18 -04:00
readline.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
README.txt re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
rhelp.vim Update R runtime files 2015-04-03 10:44:18 -04:00
rmd.vim Update R runtime files 2015-04-03 10:44:18 -04:00
rnoweb.vim Update R runtime files 2015-04-03 10:44:18 -04:00
rpl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
rrst.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
rst.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
ruby.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sass.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
scheme.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
scss.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sdl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sh.vim vim-patch:86ae720 2016-03-29 21:41:37 +09:00
sml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sql.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
sqlanywhere.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
systemverilog.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
tcl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
tcsh.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
teraterm.vim vim-patch:f913281 2016-03-29 21:58:28 +09:00
tex.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
tf.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
tilde.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
treetop.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
vb.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
verilog.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
vhdl.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
vim.vim vim-patch:e3faf44 2016-01-08 23:14:47 +01:00
vroom.vim vim-patch:1e8ebf8 2014-12-30 13:51:39 +01:00
xf86conf.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
xhtml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
xinetd.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
xml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00: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 re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
yaml.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00:00
zimbu.vim re-integrate runtime/ vim-patch:0 #938 2014-07-29 02:12:31 +00: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.