patch 9.1.1363: style: inconsistent indentation in various files
Problem: style: inconsistent indentation in various files
Solution: fix style, updated codestyle test
(Naruhiko Nishino)
closes: #17254
Signed-off-by: Naruhiko Nishino <naru123456789@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/search.c b/src/search.c
index 68b2e72..43491b6 100644
--- a/src/search.c
+++ b/src/search.c
@@ -4518,13 +4518,13 @@
}
// Check exact match condition
- if (currIdx != (int_u)i)
+ if (currIdx != (int_u)i)
is_exact_match = FALSE;
}
// Boost score for exact matches
if (is_exact_match && numMatches == strSz)
- score += EXACT_MATCH_BONUS;
+ score += EXACT_MATCH_BONUS;
return score;
}
@@ -5265,7 +5265,7 @@
char_u *line_end = NULL;
if (str == NULL || pat == NULL)
- return found;
+ return found;
line_end = find_line_end(str);
while (str < line_end)
@@ -5333,12 +5333,12 @@
int whole_line = ctrl_x_mode_whole_line();
if (buf == curbuf)
- circly_end = *start_pos;
+ circly_end = *start_pos;
else
{
- circly_end.lnum = buf->b_ml.ml_line_count;
- circly_end.col = 0;
- circly_end.coladd = 0;
+ circly_end.lnum = buf->b_ml.ml_line_count;
+ circly_end.col = 0;
+ circly_end.coladd = 0;
}
if (whole_line && start_pos->lnum != pos->lnum)