• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision87980a7936e756131654cc17b80efa17bf431ab0 (tree)
Zeit2022-07-06 21:45:03
AutorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 9.0.0044: typos in comments, wrapping lines

Commit: https://github.com/vim/vim/commit/b8329db36a886355e6e9cb9986a3668fef78c438
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 6 13:31:28 2022 +0100

patch 9.0.0044: typos in comments, wrapping lines
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.

Ändern Zusammenfassung

Diff

diff -r 03e3b0034e31 -r 87980a7936e7 src/ex_docmd.c
--- a/src/ex_docmd.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/ex_docmd.c Wed Jul 06 14:45:03 2022 +0200
@@ -3120,7 +3120,7 @@
31203120 // Special case: empty command uses "+":
31213121 // "'<,'>mods" -> "mods *+
31223122 // Use "*" instead of "'<,'>" to avoid the command getting
3123- // longer, in case is was allocated.
3123+ // longer, in case it was allocated.
31243124 mch_memmove(orig_cmd, cmd_start, len);
31253125 STRCPY(orig_cmd + len, " *+");
31263126 }
diff -r 03e3b0034e31 -r 87980a7936e7 src/getchar.c
--- a/src/getchar.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/getchar.c Wed Jul 06 14:45:03 2022 +0200
@@ -3020,8 +3020,9 @@
30203020 vgetorpeek(int advance)
30213021 {
30223022 int c, c1;
3023- int timedout = FALSE; // waited for more than 1 second
3024- // for mapping to complete
3023+ int timedout = FALSE; // waited for more than 'timeoutlen'
3024+ // for mapping to complete or
3025+ // 'ttimeoutlen' for complete key code
30253026 int mapdepth = 0; // check for recursive mapping
30263027 int mode_deleted = FALSE; // set when mode has been deleted
30273028 #ifdef FEAT_CMDL_INFO
diff -r 03e3b0034e31 -r 87980a7936e7 src/message.c
--- a/src/message.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/message.c Wed Jul 06 14:45:03 2022 +0200
@@ -1883,7 +1883,8 @@
18831883 --trail;
18841884 }
18851885 // find end of leading whitespace
1886- if (curwin->w_lcs_chars.lead || curwin->w_lcs_chars.leadmultispace != NULL)
1886+ if (curwin->w_lcs_chars.lead
1887+ || curwin->w_lcs_chars.leadmultispace != NULL)
18871888 {
18881889 lead = s;
18891890 while (VIM_ISWHITE(lead[0]))
diff -r 03e3b0034e31 -r 87980a7936e7 src/search.c
--- a/src/search.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/search.c Wed Jul 06 14:45:03 2022 +0200
@@ -2059,7 +2059,6 @@
20592059 * "oap" is only used to set oap->motion_type for a linewise motion, it can be
20602060 * NULL
20612061 */
2062-
20632062 pos_T *
20642063 findmatchlimit(
20652064 oparg_T *oap,
diff -r 03e3b0034e31 -r 87980a7936e7 src/textformat.c
--- a/src/textformat.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/textformat.c Wed Jul 06 14:45:03 2022 +0200
@@ -92,7 +92,7 @@
9292 int did_do_comment = FALSE;
9393
9494 virtcol = get_nolist_virtcol()
95- + char2cells(c != NUL ? c : gchar_cursor());
95+ + char2cells(c != NUL ? c : gchar_cursor());
9696 if (virtcol <= (colnr_T)textwidth)
9797 break;
9898
diff -r 03e3b0034e31 -r 87980a7936e7 src/version.c
--- a/src/version.c Wed Jul 06 14:30:05 2022 +0200
+++ b/src/version.c Wed Jul 06 14:45:03 2022 +0200
@@ -736,6 +736,8 @@
736736 static int included_patches[] =
737737 { /* Add new patch number below this line */
738738 /**/
739+ 44,
740+/**/
739741 43,
740742 /**/
741743 42,
Show on old repository browser