1
0
forked from aniani/vim

updated for version 7.4.348

Problem:    When using "J1" in 'cinoptions' a line below a continuation line
            gets too much indent.
Solution:   Fix parenthesis in condition.
This commit is contained in:
Bram Moolenaar
2014-07-02 17:02:36 +02:00
parent b7d929a86f
commit e7eb789ef0
2 changed files with 6 additions and 2 deletions

View File

@@ -7497,9 +7497,11 @@ get_c_indent()
* ldfd) {
* }
*/
if (curbuf->b_ind_js || (curbuf->b_ind_keep_case_label
&& cin_iscase(skipwhite(ml_get_curline()), FALSE)))
if ((curbuf->b_ind_js || curbuf->b_ind_keep_case_label)
&& cin_iscase(skipwhite(ml_get_curline()), FALSE))
amount = get_indent();
else if (curbuf->b_ind_js)
amount = get_indent_lnum(lnum);
else
amount = skip_label(lnum, &l);

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
348,
/**/
347,
/**/