Jan Edmund Lazo 7ad1d00eaa vim-patch:8.1.1937: errors when using javascriptreact #10885 5 年之前
..
testdir 2cdbbe50a4 vim-patch:63b74a8362b1 5 年之前
README.txt a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
aap.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
ada.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
ant.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
automake.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
awk.vim 532ee54a42 vim-patch:a6c27c47ddf0 5 年之前
bib.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
bst.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
bzl.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
c.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
cdl.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
ch.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
chaiscript.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
changelog.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
clojure.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
cmake.vim 10e5040b61 vim-patch:24a98a0eb772 7 年之前
cobol.vim 2cdbbe50a4 vim-patch:63b74a8362b1 5 年之前
config.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
context.vim 8d3f8f639b vim-patch:46fceaaa8d14 7 年之前
cpp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
cs.vim c8f34a9a3e vim-patch:d47d52232bf2 5 年之前
css.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
cucumber.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
cuda.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
d.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
dictconf.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
dictdconf.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
docbk.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
dosbatch.vim 11bcd48fda vim-patch:20aac6c11269 6 年之前
dtd.vim 2c7ed420d9 vim-patch:fc65cabb15d0 6 年之前
dtrace.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
dylan.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
eiffel.vim c348f84f21 vim-patch:036986f1507d 7 年之前
erlang.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
eruby.vim 6fed505100 vim-patch:d09091d4955c 5 年之前
eterm.vim c348f84f21 vim-patch:036986f1507d 7 年之前
falcon.vim aa680f6acb vim-patch:9d87a37ee9d8 5 年之前
fortran.vim e5b640fdb8 vim-patch:c0514bf4777a 7 年之前
framescript.vim c348f84f21 vim-patch:036986f1507d 7 年之前
gitconfig.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
gitolite.vim 4175dfac9a vim-patch:01164a6546b4 7 年之前
go.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
haml.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
hamster.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
hog.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
html.vim 2cdbbe50a4 vim-patch:63b74a8362b1 5 年之前
htmldjango.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
idlang.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
ishd.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
j.vim 1f27ccb77f vim-patch:83caecf 9 年之前
java.vim c348f84f21 vim-patch:036986f1507d 7 年之前
javascript.vim dae1213e57 vim-patch:f0b03c4e98f8 6 年之前
javascriptreact.vim 7ad1d00eaa vim-patch:8.1.1937: errors when using javascriptreact #10885 5 年之前
json.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
jsp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
ld.vim c348f84f21 vim-patch:036986f1507d 7 年之前
less.vim d69f3bbb0d vim-patch:8feef4f #3444 9 年之前
lifelines.vim ba7472c54d runtime: fix executable bit on some files 10 年之前
liquid.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
lisp.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
logtalk.vim 228bc4c416 vim-patch:d473c8c10126 6 年之前
lua.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
mail.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
make.vim c348f84f21 vim-patch:036986f1507d 7 年之前
matlab.vim aa680f6acb vim-patch:9d87a37ee9d8 5 年之前
mf.vim 460d5971f6 vim-patch:2ec618c9feac 7 年之前
mma.vim 532ee54a42 vim-patch:a6c27c47ddf0 5 年之前
mp.vim 60e68f3096 vim-patch:dc08328821a2 7 年之前
nsis.vim 1a51524ad5 vim-patch:40962ec9c0e7 6 年之前
objc.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
ocaml.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
occam.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
pascal.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
perl.vim 8c6168565c vim-patch:37c64c78fd87 7 年之前
perl6.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
php.vim 9bc4f275b3 vim-patch:5477506a9f01 5 年之前
postscr.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
pov.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
prolog.vim 17c26d0dcf vim-patch:95bafa296ae9 6 年之前
pyrex.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
python.vim a14fc7b159 vim-patch:f6b401090e81 5 年之前
r.vim 2c7ed420d9 vim-patch:fc65cabb15d0 6 年之前
raml.vim 80dda68926 vim-patch:ba3ff539303c 5 年之前
readline.vim c348f84f21 vim-patch:036986f1507d 7 年之前
rhelp.vim ef7af078ef vim-patch:cd5c8f825078 7 年之前
rmd.vim 532ee54a42 vim-patch:a6c27c47ddf0 5 年之前
rnoweb.vim 2c7ed420d9 vim-patch:fc65cabb15d0 6 年之前
rpl.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
rrst.vim ea18b4a60f vim-patch:77cdfd1 8 年之前
rst.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
ruby.vim 6fed505100 vim-patch:d09091d4955c 5 年之前
rust.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
sas.vim 5a022c71e4 vim-patch:6dc819b1299e 6 年之前
sass.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
scala.vim c348f84f21 vim-patch:036986f1507d 7 年之前
scheme.vim 733b4ce033 vim-patch:7254067ee970 6 年之前
scss.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
sdl.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
sh.vim 9bc4f275b3 vim-patch:5477506a9f01 5 年之前
sml.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
sql.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
sqlanywhere.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
systemd.vim 43fe335eda vim-patch:60cce2f 8 年之前
systemverilog.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
tcl.vim c8f34a9a3e vim-patch:d47d52232bf2 5 年之前
tcsh.vim c348f84f21 vim-patch:036986f1507d 7 年之前
teraterm.vim 11bcd48fda vim-patch:20aac6c11269 6 年之前
tex.vim 460a52dbbf vim-patch:eb3dc87f0139 6 年之前
tf.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
tilde.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
treetop.vim c348f84f21 vim-patch:036986f1507d 7 年之前
typescript.vim ad9b781bba vim-patch:773a97c254d0 5 年之前
vb.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
verilog.vim 8c3377ee76 vim-patch:c572da5f67aa 7 年之前
vhdl.vim 4175dfac9a vim-patch:01164a6546b4 7 年之前
vim.vim 96a8b0ab78 vim-patch:8.1.0369: continuation lines cannot contain comments 5 年之前
vroom.vim 272f1064c7 vim-patch:1e8ebf8 10 年之前
wast.vim 4f67f5ba6e vim-patch:d2855f5454c5 6 年之前
xf86conf.vim c348f84f21 vim-patch:036986f1507d 7 年之前
xhtml.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
xinetd.vim c348f84f21 vim-patch:036986f1507d 7 年之前
xml.vim 9bc4f275b3 vim-patch:5477506a9f01 5 年之前
xsd.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
xslt.vim a98a6996c2 re-integrate runtime/ vim-patch:0 #938 10 年之前
yacc.vim 93fb7383a3 vim-patch:214641f77df6 7 年之前
yaml.vim a39bf01958 vim-patch:3ec574f2b549 7 年之前
zimbu.vim 374b3a6f4c vim-patch:298b440 8 年之前
zsh.vim 975a610233 vim-patch:f2571c6 9 年之前

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