Skip to content

Commit 009fd88

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 747560e + 20586cb commit 009fd88

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

src/os_win32.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7397,10 +7397,15 @@ fix_arg_enc(void)
73977397
/* Now expand wildcards in the arguments. */
73987398
/* Temporarily add '(' and ')' to 'isfname'. These are valid
73997399
* filename characters but are excluded from 'isfname' to make
7400-
* "gf" work on a file name in parenthesis (e.g.: see vim.h). */
7400+
* "gf" work on a file name in parenthesis (e.g.: see vim.h).
7401+
* Also, unset wildignore to not be influenced by this option.
7402+
* The arguments specified in command-line should be kept even if
7403+
* encoding options were changed. */
74017404
do_cmdline_cmd((char_u *)":let SaVe_ISF = &isf|set isf+=(,)");
7405+
do_cmdline_cmd((char_u *)":let SaVe_WIG = &wig|set wig=");
74027406
alist_expand(fnum_list, used_alist_count);
74037407
do_cmdline_cmd((char_u *)":let &isf = SaVe_ISF|unlet SaVe_ISF");
7408+
do_cmdline_cmd((char_u *)":let &wig = SaVe_WIG|unlet SaVe_WIG");
74047409
}
74057410

74067411
/* If wildcard expansion failed, we are editing the first file of the

src/structs.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,21 +1260,22 @@ struct listwatch_S
12601260

12611261
/*
12621262
* Structure to hold info about a list.
1263+
* Order of members is optimized to reduce padding.
12631264
*/
12641265
struct listvar_S
12651266
{
12661267
listitem_T *lv_first; /* first item, NULL if none */
12671268
listitem_T *lv_last; /* last item, NULL if none */
1268-
int lv_refcount; /* reference count */
1269-
int lv_len; /* number of items */
12701269
listwatch_T *lv_watch; /* first watcher, NULL if none */
1271-
int lv_idx; /* cached index of an item */
12721270
listitem_T *lv_idx_item; /* when not NULL item at index "lv_idx" */
1273-
int lv_copyID; /* ID used by deepcopy() */
12741271
list_T *lv_copylist; /* copied list used by deepcopy() */
1275-
char lv_lock; /* zero, VAR_LOCKED, VAR_FIXED */
12761272
list_T *lv_used_next; /* next list in used lists list */
12771273
list_T *lv_used_prev; /* previous list in used lists list */
1274+
int lv_refcount; /* reference count */
1275+
int lv_len; /* number of items */
1276+
int lv_idx; /* cached index of an item */
1277+
int lv_copyID; /* ID used by deepcopy() */
1278+
char lv_lock; /* zero, VAR_LOCKED, VAR_FIXED */
12781279
};
12791280

12801281
/*

src/version.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -781,6 +781,10 @@ static char *(features[]) =
781781

782782
static int included_patches[] =
783783
{ /* Add new patch number below this line */
784+
/**/
785+
1591,
786+
/**/
787+
1590,
784788
/**/
785789
1589,
786790
/**/

0 commit comments

Comments
 (0)