comparison runtime/doc/indent.txt @ 2965:f2de38a019a2

Updated runtime files. Add missing test82 files.
author Bram Moolenaar <bram@vim.org>
date Mon, 18 Jul 2011 19:40:27 +0200
parents fd09a9c8468e
children 3502a7f991fc
comparison
equal deleted inserted replaced
2964:39cb812cf477 2965:f2de38a019a2
1 *indent.txt* For Vim version 7.3. Last change: 2011 May 31 1 *indent.txt* For Vim version 7.3. Last change: 2011 Jul 15
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
484 if (cond1 && if (cond1 && 484 if (cond1 && if (cond1 &&
485 cond2 cond2 485 cond2 cond2
486 ) ) 486 ) )
487 < 487 <
488 *java-cinoptions* *java-indenting* *cino-j* 488 *java-cinoptions* *java-indenting* *cino-j*
489 jN Indent java anonymous classes correctly. The value 'N' is 489 jN Indent Java anonymous classes correctly. Also works well for
490 currently unused but must be non-zero (e.g. 'j1'). 'j1' will 490 Javascript. The value 'N' is currently unused but must be
491 indent for example the following code snippet correctly: > 491 non-zero (e.g. 'j1'). 'j1' will indent for example the
492 following code snippet correctly: >
492 493
493 object.add(new ChangeListener() { 494 object.add(new ChangeListener() {
494 public void stateChanged(ChangeEvent e) { 495 public void stateChanged(ChangeEvent e) {
495 do_something(); 496 do_something();
496 } 497 }
497 }); 498 });
498 < 499 <
499 *javascript-cinoptions* *javascript-indenting* *cino-J* 500 *javascript-cinoptions* *javascript-indenting* *cino-J*
500 JN Indent JavaScript object declarations correctly by not confusing 501 JN Indent JavaScript object declarations correctly by not confusing
501 them with labels. The value 'N' is currently unused but must be 502 them with labels. The value 'N' is currently unused but must be
502 non-zero (e.g. 'J1'). > 503 non-zero (e.g. 'J1'). If you enable this you probably also want
504 to set |cino-j|. >
503 505
504 var bar = { 506 var bar = {
505 foo: { 507 foo: {
506 that: this, 508 that: this,
507 some: ok, 509 some: ok,