mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.3.105
Problem: Can't get the value of "b:changedtick" with getbufvar(). Solution: Make it work. (Christian Brabandt)
This commit is contained in:
@@ -10866,6 +10866,11 @@ f_getbufvar(argvars, rettv)
|
||||
|
||||
if (*varname == '&') /* buffer-local-option */
|
||||
get_option_tv(&varname, rettv, TRUE);
|
||||
else if (STRCMP(varname, "changedtick") == 0)
|
||||
{
|
||||
rettv->v_type = VAR_NUMBER;
|
||||
rettv->vval.v_number = curbuf->b_changedtick;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (*varname == NUL)
|
||||
|
Reference in New Issue
Block a user