refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)

This commit is contained in:
dundargoc
2022-05-25 20:31:14 +02:00
committed by GitHub
parent 8c4e62351f
commit 9fec6dc9a2
145 changed files with 5 additions and 586 deletions

View File

@@ -212,7 +212,6 @@ int is_pos_in_string(const char_u *line, colnr_T col)
* Below "XXX" means that this function may unlock the current line.
*/
/*
* Return true if the string "line" starts with a word from 'cinwords'.
*/
@@ -238,7 +237,6 @@ bool cin_is_cinword(const char_u *line)
return retval;
}
/*
* Skip over white space and C comments within the line.
* Also skip over Perl/shell comments if desired.
@@ -1422,7 +1420,6 @@ static int cin_is_cpp_extern_c(const char_u *s)
return false;
}
/*
* Skip strings, chars and comments until at or past "trypos".
* Return the column found.
@@ -1553,7 +1550,6 @@ static pos_T *find_match_paren_after_brace(int ind_maxparen)
return trypos;
}
/*
* Return ind_maxparen corrected for the difference in line number between the
* cursor position and "startpos". This makes sure that searching for a
@@ -3746,7 +3742,6 @@ term_again:
amount += curbuf->b_ind_comment;
}
// add extra indent if the previous line ended in a backslash:
// "asdfasdf{backslash}
// here";