1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Javascript object literal is not indented correctly.
12 Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
13 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok
16 *** ../mercurial/vim73/src/misc1.c 2011-05-25 17:29:40.000000000 +0200
17 --- src/misc1.c 2011-06-10 04:58:10.000000000 +0200
23 ! if ((ind_keep_case_label
24 && cin_iscase(skipwhite(ml_get_curline()), FALSE)))
25 amount = get_indent();
31 ! if (ind_js || (ind_keep_case_label
32 && cin_iscase(skipwhite(ml_get_curline()), FALSE)))
33 amount = get_indent();
35 *** ../mercurial/vim73/src/testdir/test3.in 2011-05-25 15:16:06.000000000 +0200
36 --- src/testdir/test3.in 2011-06-12 21:44:12.000000000 +0200
46 /* valid namespaces with normal indent */
58 /* valid namespaces with normal indent */
88 :g/^STARTTEST/.,/^ENDTEST/d
89 :1;/start of AUTO/,$wq! test.out
91 *** ../mercurial/vim73/src/testdir/test3.ok 2011-05-25 15:16:06.000000000 +0200
92 --- src/testdir/test3.ok 2011-06-12 21:44:26.000000000 +0200
100 /* valid namespaces with normal indent */
125 *** ../vim-7.3.212/src/version.c 2011-06-12 21:37:06.000000000 +0200
126 --- src/version.c 2011-06-12 21:48:34.000000000 +0200
130 { /* Add new patch number below this line */
136 hundred-and-one symptoms of being an internet addict:
137 169. You hire a housekeeper for your home page.
139 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
140 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
141 \\\ an exciting new programming language -- http://www.Zimbu.org ///
142 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///