0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.1.0581: Various lines are indented inconsistently

Problem:  style: Various lines are indented inconsistently
Solution: Retab these lines and correct some comments.
          (zeertzjq)

closes: #15259

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-07-14 10:20:20 +02:00
committed by Christian Brabandt
parent 90a800274d
commit d9be94cf03
22 changed files with 55 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
*index.txt* For Vim version 9.1. Last change: 2023 Jul 06
*index.txt* For Vim version 9.1. Last change: 2023 Jul 14
VIM REFERENCE MANUAL by Bram Moolenaar

View File

@@ -2860,9 +2860,8 @@ parse_command_modifiers(
{
// The automatically inserted Visual area range is skipped, so that
// typing ":cmdmod cmd" in Visual mode works without having to move the
// range to after the modififiers. The command will be
// "'<,'>cmdmod cmd", parse "cmdmod cmd" and then put back "'<,'>"
// before "cmd" below.
// range to after the modifiers. The command will be "'<,'>cmdmod cmd",
// parse "cmdmod cmd" and then put back "'<,'>" before "cmd" below.
eap->cmd += 5;
cmd_start = eap->cmd;
has_visual_range = TRUE;

View File

@@ -2036,8 +2036,8 @@ vgetc(void)
vgetc_char = c;
}
// a keypad or special function key was not mapped, use it like
// its ASCII equivalent
// A keypad or special function key was not mapped, use it like
// its ASCII equivalent.
switch (c)
{
case K_KPLUS: c = '+'; break;

View File

@@ -131,8 +131,8 @@ EXTERN int screen_Columns INIT(= 0); // actual size of ScreenLines[]
*/
EXTERN int mod_mask INIT(= 0); // current key modifiers
// The value of "mod_mask" and the unomdified character before calling
// merge_modifyOtherKeys().
// The value of "mod_mask" and the unmodified character in vgetc() after it has
// called vgetorpeek() enough times.
EXTERN int vgetc_mod_mask INIT(= 0);
EXTERN int vgetc_char INIT(= 0);

View File

@@ -100,9 +100,9 @@ func Test_tagfiles()
help
let tf = tagfiles()
" if 'helplang includes another language, then we may find
" 2 tagfiles (e.g.: for EN and RU)
" we may need to adjust this, if further translated help files are included
" If 'helplang' includes another language, then we may find 2 tagfiles
" (e.g.: for EN and RU).
" We may need to adjust this, if further translated help files are included.
call assert_inrange(1, 2, len(tf))
call assert_equal(fnamemodify(expand('$VIMRUNTIME/doc/tags'), ':p:gs?\\?/?'),
\ fnamemodify(tf[0], ':p:gs?\\?/?'))

View File

@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
581,
/**/
580,
/**/