diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-07-02 18:27:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-07-02 18:27:48 +0200 |
commit | 81439a6d1b45bbef9c8dc03d76f01b6a8165e2ce (patch) | |
tree | 1e15dcd6ee0a9487a4d06c7db9bc71c6c9460084 /src/testdir/test3.ok | |
parent | dab70c63e16687b2cb784a3a9eecdbea6ecd7065 (diff) |
updated for version 7.4.350v7.4.350
Problem: Using C indenting for Javascript does not work well for a {} block
inside parenthesis.
Solution: When looking for a matching paren ignore one that is before the
start of a {} block.
Diffstat (limited to 'src/testdir/test3.ok')
-rw-r--r-- | src/testdir/test3.ok | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok index d73a5e1230..edd9e236a6 100644 --- a/src/testdir/test3.ok +++ b/src/testdir/test3.ok @@ -1728,6 +1728,10 @@ JSEND JSSTART (function($){ + if (cond && + cond) { + stmt; + } var class_name='myclass'; function private_method() { |