]> granicus.if.org Git - vim/commitdiff
patch 9.0.0044: typos in comments, wrapping lines v9.0.0044
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jul 2022 12:31:28 +0000 (13:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jul 2022 12:31:28 +0000 (13:31 +0100)
Problem:    Typos in comments, wrapping lines.
Solution:   Adjust comments.  Wrap lines.

src/ex_docmd.c
src/getchar.c
src/message.c
src/search.c
src/textformat.c
src/version.c

index 697337cad95750af3cbdb67dc41aa083f2a5947d..fad0bdacafc66809eaa7d5be9110a6e88b3ff5fd 100644 (file)
@@ -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, " *+");
            }
index 12fd1c9146b3a0b52d4042c2a0c33de4a4834e8e..419ce7468e483be261527fb26f3dccfe2f4a51ee 100644 (file)
@@ -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
index becb2804d00c320a4611116adbb1129fb7a7dd0f..1f26a23413ad3061c4bfcfd8aa998016f305d630 100644 (file)
@@ -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]))
index c7309ee6340fa13398b0d7ee6b53ef368393970a..3fd423f6a5c64fd53344d7b00ce538bb7a3a300a 100644 (file)
@@ -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,
index 5ba2f1798ddb93cb31db1e596377e17274d2025d..f34c9984817024ac05ad74845e9806b4b8c2c30f 100644 (file)
@@ -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;
 
index f1b2e52b10e98fca68b44778779d793ba9d62e71..31ece0e6b2d42b558e6ccde78da54023a5472a13 100644 (file)
@@ -735,6 +735,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    44,
 /**/
     43,
 /**/