comparison src/testdir/test3.in @ 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
comparison
equal deleted inserted replaced
6019:1cb48ecf240e 6020:ad005d0114c1
1953 ENDTEST 1953 ENDTEST
1954 1954
1955 JSSTART 1955 JSSTART
1956 (function($){ 1956 (function($){
1957 1957
1958 if (cond &&
1959 cond) {
1960 stmt;
1961 }
1958 var class_name='myclass'; 1962 var class_name='myclass';
1959 1963
1960 function private_method() { 1964 function private_method() {
1961 } 1965 }
1962 1966