Mercurial > vim
comparison src/evalvars.c @ 23598:a9433f834693 v8.2.2341
patch 8.2.2341: expresison command line completion incomplete after "g:"
Commit: https://github.com/vim/vim/commit/1bb4de5302ba038b9c59e845b6d735e87d5681d0
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 13 19:48:46 2021 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 13 Jan 2021 20:00:05 +0100 |
parents | 85ce241ff9e3 |
children | c8f26523d7d7 |
comparison
equal
deleted
inserted
replaced
23597:000119fdb207 | 23598:a9433f834693 |
---|---|
1950 static int varnamebuflen = 0; | 1950 static int varnamebuflen = 0; |
1951 | 1951 |
1952 /* | 1952 /* |
1953 * Function to concatenate a prefix and a variable name. | 1953 * Function to concatenate a prefix and a variable name. |
1954 */ | 1954 */ |
1955 static char_u * | 1955 char_u * |
1956 cat_prefix_varname(int prefix, char_u *name) | 1956 cat_prefix_varname(int prefix, char_u *name) |
1957 { | 1957 { |
1958 int len; | 1958 int len; |
1959 | 1959 |
1960 len = (int)STRLEN(name) + 3; | 1960 len = (int)STRLEN(name) + 3; |