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:
committed by
Christian Brabandt
parent
90a800274d
commit
d9be94cf03
@@ -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
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
@@ -2860,9 +2860,8 @@ parse_command_modifiers(
|
|||||||
{
|
{
|
||||||
// The automatically inserted Visual area range is skipped, so that
|
// The automatically inserted Visual area range is skipped, so that
|
||||||
// typing ":cmdmod cmd" in Visual mode works without having to move the
|
// typing ":cmdmod cmd" in Visual mode works without having to move the
|
||||||
// range to after the modififiers. The command will be
|
// range to after the modifiers. The command will be "'<,'>cmdmod cmd",
|
||||||
// "'<,'>cmdmod cmd", parse "cmdmod cmd" and then put back "'<,'>"
|
// parse "cmdmod cmd" and then put back "'<,'>" before "cmd" below.
|
||||||
// before "cmd" below.
|
|
||||||
eap->cmd += 5;
|
eap->cmd += 5;
|
||||||
cmd_start = eap->cmd;
|
cmd_start = eap->cmd;
|
||||||
has_visual_range = TRUE;
|
has_visual_range = TRUE;
|
||||||
|
@@ -2036,8 +2036,8 @@ vgetc(void)
|
|||||||
vgetc_char = c;
|
vgetc_char = c;
|
||||||
}
|
}
|
||||||
|
|
||||||
// a keypad or special function key was not mapped, use it like
|
// A keypad or special function key was not mapped, use it like
|
||||||
// its ASCII equivalent
|
// its ASCII equivalent.
|
||||||
switch (c)
|
switch (c)
|
||||||
{
|
{
|
||||||
case K_KPLUS: c = '+'; break;
|
case K_KPLUS: c = '+'; break;
|
||||||
|
@@ -131,8 +131,8 @@ EXTERN int screen_Columns INIT(= 0); // actual size of ScreenLines[]
|
|||||||
*/
|
*/
|
||||||
EXTERN int mod_mask INIT(= 0); // current key modifiers
|
EXTERN int mod_mask INIT(= 0); // current key modifiers
|
||||||
|
|
||||||
// The value of "mod_mask" and the unomdified character before calling
|
// The value of "mod_mask" and the unmodified character in vgetc() after it has
|
||||||
// merge_modifyOtherKeys().
|
// called vgetorpeek() enough times.
|
||||||
EXTERN int vgetc_mod_mask INIT(= 0);
|
EXTERN int vgetc_mod_mask INIT(= 0);
|
||||||
EXTERN int vgetc_char INIT(= 0);
|
EXTERN int vgetc_char INIT(= 0);
|
||||||
|
|
||||||
|
@@ -100,9 +100,9 @@ func Test_tagfiles()
|
|||||||
|
|
||||||
help
|
help
|
||||||
let tf = tagfiles()
|
let tf = tagfiles()
|
||||||
" if 'helplang includes another language, then we may find
|
" If 'helplang' includes another language, then we may find 2 tagfiles
|
||||||
" 2 tagfiles (e.g.: for EN and RU)
|
" (e.g.: for EN and RU).
|
||||||
" we may need to adjust this, if further translated help files are included
|
" We may need to adjust this, if further translated help files are included.
|
||||||
call assert_inrange(1, 2, len(tf))
|
call assert_inrange(1, 2, len(tf))
|
||||||
call assert_equal(fnamemodify(expand('$VIMRUNTIME/doc/tags'), ':p:gs?\\?/?'),
|
call assert_equal(fnamemodify(expand('$VIMRUNTIME/doc/tags'), ':p:gs?\\?/?'),
|
||||||
\ fnamemodify(tf[0], ':p:gs?\\?/?'))
|
\ fnamemodify(tf[0], ':p:gs?\\?/?'))
|
||||||
|
@@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
581,
|
||||||
/**/
|
/**/
|
||||||
580,
|
580,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user