mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
This commit is contained in:
@@ -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";
|
||||
|
Reference in New Issue
Block a user