From 32aa10203bd0b4b270def03311a4599f9ffdecc4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Nov 2019 22:54:41 +0100 Subject: patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit. --- src/cindent.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/cindent.c') diff --git a/src/cindent.c b/src/cindent.c index dd416720a9..c37682c396 100644 --- a/src/cindent.c +++ b/src/cindent.c @@ -1778,10 +1778,10 @@ parse_cino(buf_T *buf) // should be located. buf->b_ind_continuation = sw; - // Spaces from the indent of the line with an unclosed parentheses. + // Spaces from the indent of the line with an unclosed parenthesis. buf->b_ind_unclosed = sw * 2; - // Spaces from the indent of the line with an unclosed parentheses, which + // Spaces from the indent of the line with an unclosed parenthesis, which // itself is also unclosed. buf->b_ind_unclosed2 = sw; @@ -1795,7 +1795,7 @@ parse_cino(buf_T *buf) buf->b_ind_unclosed_wrapped = 0; // Suppress ignoring white space when lining up with the character after - // an unclosed parentheses. + // an unclosed parenthesis. buf->b_ind_unclosed_whiteok = 0; // Indent a closing parentheses under the line start of the matching @@ -2725,7 +2725,7 @@ get_c_indent(void) if (curwin->w_cursor.lnum <= ourscope) { // We reached end of scope: - // If looking for a enum or structure initialization + // If looking for an enum or structure initialization // go further back: // If it is an initializer (enum xxx or xxx =), then // don't add ind_continuation, otherwise it is a variable @@ -2785,7 +2785,7 @@ get_c_indent(void) if (terminated == ',') break; - // if it es a enum declaration or an assignment, + // if it is an enum declaration or an assignment, // we are done. if (terminated != ';' && cin_isinit()) break; @@ -3083,7 +3083,7 @@ get_c_indent(void) // 123, // sizeof // here - // Otherwise check whether it is a enumeration or structure + // Otherwise check whether it is an enumeration or structure // initialisation (not indented) or a variable declaration // (indented). terminated = cin_isterminated(l, FALSE, TRUE); -- cgit v1.2.3