mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0044: typos in comments, wrapping lines
Problem: Typos in comments, wrapping lines. Solution: Adjust comments. Wrap lines.
This commit is contained in:
parent
5ed11535e0
commit
b8329db36a
@ -3120,7 +3120,7 @@ parse_command_modifiers(
|
|||||||
// Special case: empty command uses "+":
|
// Special case: empty command uses "+":
|
||||||
// "'<,'>mods" -> "mods *+
|
// "'<,'>mods" -> "mods *+
|
||||||
// Use "*" instead of "'<,'>" to avoid the command getting
|
// 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);
|
mch_memmove(orig_cmd, cmd_start, len);
|
||||||
STRCPY(orig_cmd + len, " *+");
|
STRCPY(orig_cmd + len, " *+");
|
||||||
}
|
}
|
||||||
|
@ -3020,8 +3020,9 @@ check_end_reg_executing(int advance)
|
|||||||
vgetorpeek(int advance)
|
vgetorpeek(int advance)
|
||||||
{
|
{
|
||||||
int c, c1;
|
int c, c1;
|
||||||
int timedout = FALSE; // waited for more than 1 second
|
int timedout = FALSE; // waited for more than 'timeoutlen'
|
||||||
// for mapping to complete
|
// for mapping to complete or
|
||||||
|
// 'ttimeoutlen' for complete key code
|
||||||
int mapdepth = 0; // check for recursive mapping
|
int mapdepth = 0; // check for recursive mapping
|
||||||
int mode_deleted = FALSE; // set when mode has been deleted
|
int mode_deleted = FALSE; // set when mode has been deleted
|
||||||
#ifdef FEAT_CMDL_INFO
|
#ifdef FEAT_CMDL_INFO
|
||||||
|
@ -1883,7 +1883,8 @@ msg_prt_line(char_u *s, int list)
|
|||||||
--trail;
|
--trail;
|
||||||
}
|
}
|
||||||
// find end of leading whitespace
|
// 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;
|
lead = s;
|
||||||
while (VIM_ISWHITE(lead[0]))
|
while (VIM_ISWHITE(lead[0]))
|
||||||
|
@ -2059,7 +2059,6 @@ find_mps_values(
|
|||||||
* "oap" is only used to set oap->motion_type for a linewise motion, it can be
|
* "oap" is only used to set oap->motion_type for a linewise motion, it can be
|
||||||
* NULL
|
* NULL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pos_T *
|
pos_T *
|
||||||
findmatchlimit(
|
findmatchlimit(
|
||||||
oparg_T *oap,
|
oparg_T *oap,
|
||||||
|
@ -92,7 +92,7 @@ internal_format(
|
|||||||
int did_do_comment = FALSE;
|
int did_do_comment = FALSE;
|
||||||
|
|
||||||
virtcol = get_nolist_virtcol()
|
virtcol = get_nolist_virtcol()
|
||||||
+ char2cells(c != NUL ? c : gchar_cursor());
|
+ char2cells(c != NUL ? c : gchar_cursor());
|
||||||
if (virtcol <= (colnr_T)textwidth)
|
if (virtcol <= (colnr_T)textwidth)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
44,
|
||||||
/**/
|
/**/
|
||||||
43,
|
43,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user