mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fixup! vim-patch:8.2.2468: not easy to get the full command name from a shortened one
This commit is contained in:
parent
ccc4d83507
commit
599a3d6abd
@ -2920,7 +2920,7 @@ void f_fullcommand(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
return;
|
||||
}
|
||||
|
||||
rettv->vval.v_string = vim_strsave(ea.cmdidx < 0
|
||||
rettv->vval.v_string = vim_strsave(IS_USER_CMDIDX(ea.cmdidx)
|
||||
? get_user_commands(NULL, ea.useridx)
|
||||
: cmdnames[ea.cmdidx].cmd_name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user