Mercurial > vim
diff src/testdir/test3.ok @ 2879:493897f8bf90 v7.3.213
updated for version 7.3.213
Problem: Javascript object literal is not indented correctly.
Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 12 Jun 2011 21:51:08 +0200 |
parents | f80e67bd6271 |
children | 9f71f5a526af |
line wrap: on
line diff
--- a/src/testdir/test3.ok +++ b/src/testdir/test3.ok @@ -1337,6 +1337,7 @@ void func(void) } +NAMESPACESTART /* valid namespaces with normal indent */ namespace { @@ -1401,3 +1402,19 @@ namespace111111111 NAMESPACEEND + +JSSTART +var bar = { + foo: { + that: this, + some: ok, + }, + "bar":{ + a : 2, + b: "123abc", + x: 4, + "y": 5 + } +} +JSEND +