summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-06 13:31:28 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-06 13:31:28 +0100
commitb8329db36a886355e6e9cb9986a3668fef78c438 (patch)
tree33ffb8b90e8cd13707eadfe3848c30a09d06c8fc /src
parent5ed11535e0695163cec71033b98bb97356cf0113 (diff)
patch 9.0.0044: typos in comments, wrapping linesv9.0.0044
Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c2
-rw-r--r--src/getchar.c5
-rw-r--r--src/message.c3
-rw-r--r--src/search.c1
-rw-r--r--src/textformat.c2
-rw-r--r--src/version.c2
6 files changed, 9 insertions, 6 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 697337cad9..fad0bdacaf 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3120,7 +3120,7 @@ parse_command_modifiers(
// Special case: empty command uses "+":
// "'<,'>mods" -> "mods *+
// Use "*" instead of "'<,'>" to avoid the command getting
- // longer, in case is was allocated.
+ // longer, in case it was allocated.
mch_memmove(orig_cmd, cmd_start, len);
STRCPY(orig_cmd + len, " *+");
}
diff --git a/src/getchar.c b/src/getchar.c
index 12fd1c9146..419ce7468e 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3020,8 +3020,9 @@ check_end_reg_executing(int advance)
vgetorpeek(int advance)
{
int c, c1;
- int timedout = FALSE; // waited for more than 1 second
- // for mapping to complete
+ int timedout = FALSE; // waited for more than 'timeoutlen'
+ // for mapping to complete or
+ // 'ttimeoutlen' for complete key code
int mapdepth = 0; // check for recursive mapping
int mode_deleted = FALSE; // set when mode has been deleted
#ifdef FEAT_CMDL_INFO
diff --git a/src/message.c b/src/message.c
index becb2804d0..1f26a23413 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1883,7 +1883,8 @@ msg_prt_line(char_u *s, int list)
--trail;
}
// find end of leading whitespace
- if (curwin->w_lcs_chars.lead || curwin->w_lcs_chars.leadmultispace != NULL)
+ if (curwin->w_lcs_chars.lead
+ || curwin->w_lcs_chars.leadmultispace != NULL)
{
lead = s;
while (VIM_ISWHITE(lead[0]))
diff --git a/src/search.c b/src/search.c
index c7309ee634..3fd423f6a5 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2059,7 +2059,6 @@ find_mps_values(
* "oap" is only used to set oap->motion_type for a linewise motion, it can be
* NULL
*/
-
pos_T *
findmatchlimit(
oparg_T *oap,
diff --git a/src/textformat.c b/src/textformat.c
index 5ba2f1798d..f34c998481 100644
--- a/src/textformat.c
+++ b/src/textformat.c
@@ -92,7 +92,7 @@ internal_format(
int did_do_comment = FALSE;
virtcol = get_nolist_virtcol()
- + char2cells(c != NUL ? c : gchar_cursor());
+ + char2cells(c != NUL ? c : gchar_cursor());
if (virtcol <= (colnr_T)textwidth)
break;
diff --git a/src/version.c b/src/version.c
index f1b2e52b10..31ece0e6b2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 44,
+/**/
43,
/**/
42,