mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #16857 from dundargoc/vim-8.2.3956
vim-patch:8.2.3956
This commit is contained in:
commit
5dbc64dced
@ -3991,7 +3991,6 @@ static void f_getregtype(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
|||||||
MotionType reg_type = get_reg_type(regname, ®len);
|
MotionType reg_type = get_reg_type(regname, ®len);
|
||||||
format_reg_type(reg_type, reglen, buf, ARRAY_SIZE(buf));
|
format_reg_type(reg_type, reglen, buf, ARRAY_SIZE(buf));
|
||||||
|
|
||||||
rettv->v_type = VAR_STRING;
|
|
||||||
rettv->vval.v_string = (char_u *)xstrdup(buf);
|
rettv->vval.v_string = (char_u *)xstrdup(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user