mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
vim-patch:8.2.0077: settagstack() cannot truncate at current index
Problem: settagstack() cannot truncate at current index.
Solution: Add the "t" action. (Yegappan Lakshmanan, closes vim/vim#5417)
271fa08a35
This commit is contained in:
@@ -16242,7 +16242,8 @@ static void f_settagstack(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
if (actstr == NULL) {
|
||||
return;
|
||||
}
|
||||
if ((*actstr == 'r' || *actstr == 'a') && actstr[1] == NUL) {
|
||||
if ((*actstr == 'r' || *actstr == 'a' || *actstr == 't')
|
||||
&& actstr[1] == NUL) {
|
||||
action = *actstr;
|
||||
} else {
|
||||
EMSG2(_(e_invact2), actstr);
|
||||
|
Reference in New Issue
Block a user