summaryrefslogtreecommitdiffstats
path: root/runtime/doc/indent.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-18 19:40:27 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-18 19:40:27 +0200
commit9729301aa0b6a419dcd87fe9aeed72c367ae72ef (patch)
tree6b69898bbf1a090cdf1fd26720bc4cfcb90c897b /runtime/doc/indent.txt
parent0acc5618f6954c6faf57032d6b4f611de4254acb (diff)
Updated runtime files.
Add missing test82 files.
Diffstat (limited to 'runtime/doc/indent.txt')
-rw-r--r--runtime/doc/indent.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index 44c76c2d9f..7767ce8911 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -1,4 +1,4 @@
-*indent.txt* For Vim version 7.3. Last change: 2011 May 31
+*indent.txt* For Vim version 7.3. Last change: 2011 Jul 15
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -486,9 +486,10 @@ The examples below assume a 'shiftwidth' of 4.
) )
<
*java-cinoptions* *java-indenting* *cino-j*
- jN Indent java anonymous classes correctly. The value 'N' is
- currently unused but must be non-zero (e.g. 'j1'). 'j1' will
- indent for example the following code snippet correctly: >
+ jN Indent Java anonymous classes correctly. Also works well for
+ Javascript. The value 'N' is currently unused but must be
+ non-zero (e.g. 'j1'). 'j1' will indent for example the
+ following code snippet correctly: >
object.add(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
@@ -499,7 +500,8 @@ The examples below assume a 'shiftwidth' of 4.
*javascript-cinoptions* *javascript-indenting* *cino-J*
JN Indent JavaScript object declarations correctly by not confusing
them with labels. The value 'N' is currently unused but must be
- non-zero (e.g. 'J1'). >
+ non-zero (e.g. 'J1'). If you enable this you probably also want
+ to set |cino-j|. >
var bar = {
foo: {