mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
refactor: remove redundant NOLINT comments
This commit is contained in:
@@ -3105,8 +3105,8 @@ int get_c_indent(void)
|
||||
} else {
|
||||
// Found first unterminated line on a row, may
|
||||
// line up with this line, remember its indent
|
||||
// 100 + // NOLINT(whitespace/tab)
|
||||
// -> here; // NOLINT(whitespace/tab)
|
||||
// 100 +
|
||||
// -> here;
|
||||
l = get_cursor_line_ptr();
|
||||
amount = cur_amount;
|
||||
|
||||
@@ -3655,7 +3655,7 @@ static int find_match(int lookfor, linenr_T ourscope)
|
||||
if (cin_iselse(look)) {
|
||||
mightbeif = cin_skipcomment(look + 4);
|
||||
if (!cin_isif(mightbeif)) {
|
||||
elselevel++; // NOLINT(readability/braces)
|
||||
elselevel++;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
@@ -3670,7 +3670,7 @@ static int find_match(int lookfor, linenr_T ourscope)
|
||||
// If it's an "if" decrement elselevel
|
||||
look = cin_skipcomment(get_cursor_line_ptr());
|
||||
if (cin_isif(look)) {
|
||||
elselevel--; // NOLINT(readability/braces)
|
||||
elselevel--;
|
||||
// When looking for an "if" ignore "while"s that
|
||||
// get in the way.
|
||||
if (elselevel == 0 && lookfor == LOOKFOR_IF) {
|
||||
|
Reference in New Issue
Block a user