diff src/testdir/test3.ok @ 6020:ad005d0114c1 v7.4.350

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.
author Bram Moolenaar <bram@vim.org>
date Wed, 02 Jul 2014 18:27:48 +0200
parents 171234e02b1e
children 9a4efda75b5e
line wrap: on
line diff
--- 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() {