1
0
forked from aniani/vim

patch 8.2.2341: expresison command line completion incomplete after "g:"

Problem:    Expresison command line completion shows variables but not
            functions after "g:". (Gary Johnson)
Solution:   Prefix "g:" when needed to a global function.
This commit is contained in:
Bram Moolenaar
2021-01-13 19:48:46 +01:00
parent 37487e16da
commit 1bb4de5302
5 changed files with 12 additions and 1 deletions

View File

@@ -1952,7 +1952,7 @@ static int varnamebuflen = 0;
/*
* Function to concatenate a prefix and a variable name.
*/
static char_u *
char_u *
cat_prefix_varname(int prefix, char_u *name)
{
int len;