summaryrefslogtreecommitdiffstats
path: root/src/cindent.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-12-27 17:21:41 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-27 17:21:41 +0000
commitaf4a61a85d6e8cacc35324f266934bc463a21673 (patch)
tree3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/cindent.c
parent5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff)
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/cindent.c')
-rw-r--r--src/cindent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cindent.c b/src/cindent.c
index 42b46e4016..9f1db03c59 100644
--- a/src/cindent.c
+++ b/src/cindent.c
@@ -1223,7 +1223,7 @@ cin_isfuncdecl(
if (*s == ')' && cin_nocode(s + 1))
{
// ')' at the end: may have found a match
- // Check for he previous line not to end in a backslash:
+ // Check for the previous line not to end in a backslash:
// #if defined(x) && {backslash}
// defined(y)
lnum = first_lnum - 1;
@@ -1792,7 +1792,7 @@ parse_cino(buf_T *buf)
buf->b_ind_unclosed2 = sw;
// Suppress ignoring spaces from the indent of a line starting with an
- // unclosed parentheses.
+ // unclosed parenthesis.
buf->b_ind_unclosed_noignore = 0;
// If the opening paren is the last nonwhite character on the line, and
@@ -1804,11 +1804,11 @@ parse_cino(buf_T *buf)
// an unclosed parenthesis.
buf->b_ind_unclosed_whiteok = 0;
- // Indent a closing parentheses under the line start of the matching
- // opening parentheses.
+ // Indent a closing parenthesis under the line start of the matching
+ // opening parenthesis.
buf->b_ind_matching_paren = 0;
- // Indent a closing parentheses under the previous line.
+ // Indent a closing parenthesis under the previous line.
buf->b_ind_paren_prev = 0;
// Extra indent for comments.