Merge pull request #13646 from janlazo/vim-8.2.2247

vim-patch:8.1.{172,1230,1727},8.2.2247
This commit is contained in:
Jan Edmund Lazo 2020-12-30 20:34:56 -05:00 committed by GitHub
commit 00247ecadc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -76,9 +76,6 @@ static char_u * const namespace_char = (char_u *)"abglstvw";
/// Variable used for g:
static ScopeDictDictItem globvars_var;
/// g: value
#define globvarht globvardict.dv_hashtab
/*
* Old Vim variables such as "v:version" are also available without the "v:".
* Also in functions. We need a special hashtable for them.

View File

@ -216,6 +216,8 @@ EXTERN bool emsg_severe INIT(= false); // use message of next of several
EXTERN int did_endif INIT(= false); // just had ":endif"
EXTERN dict_T vimvardict; // Dictionary with v: variables
EXTERN dict_T globvardict; // Dictionary with g: variables
/// g: value
#define globvarht globvardict.dv_hashtab
EXTERN int did_emsg; // set by emsg() when the message
// is displayed or thrown
EXTERN bool called_vim_beep; // set if vim_beep() is called

View File

@ -2313,6 +2313,7 @@ return {
deny_duplicates=true,
vi_def=true,
secure=true,
expand=true,
varname='p_shadafile',
defaults={if_true={vi=""}}
},