commit | 81439a6d1b45bbef9c8dc03d76f01b6a8165e2ce | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jul 02 18:27:48 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jul 02 18:27:48 2014 +0200 |
tree | 1e15dcd6ee0a9487a4d06c7db9bc71c6c9460084 | |
parent | dab70c63e16687b2cb784a3a9eecdbea6ecd7065 [diff] [blame] |
updated for version 7.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.
diff --git a/src/testdir/test3.ok b/src/testdir/test3.ok index d73a5e1..edd9e23 100644 --- a/src/testdir/test3.ok +++ b/src/testdir/test3.ok
@@ -1728,6 +1728,10 @@ JSSTART (function($){ + if (cond && + cond) { + stmt; + } var class_name='myclass'; function private_method() {