diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-29 20:30:23 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 20:30:23 -0800 |
commit | 4ea5d7d31a0ad43a84d268e6b05193fa27c5e0da (patch) | |
tree | adb5f5b3cb5ff71ec437539136b5f680a46b8de3 /runtime | |
parent | 406464fa6e6dbacca82746412b24308bc58ddbc7 (diff) | |
parent | b7447a909fc668b023e86ca40c0e2738dd2e5350 (diff) | |
download | rneovim-4ea5d7d31a0ad43a84d268e6b05193fa27c5e0da.tar.gz rneovim-4ea5d7d31a0ad43a84d268e6b05193fa27c5e0da.tar.bz2 rneovim-4ea5d7d31a0ad43a84d268e6b05193fa27c5e0da.zip |
Merge #11792 from janlazo/vim-8.1.0445
vim-patch:8.1.{445,446},8.2.{77,177}
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 69b8b3cf39..e0ce83f8d2 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7550,11 +7550,21 @@ settagstack({nr}, {dict} [, {action}]) *settagstack()* {nr} can be the window number or the |window-ID|. For a list of supported items in {dict}, refer to - |gettagstack()| + |gettagstack()|. "curidx" takes effect before changing the tag + stack. *E962* - If {action} is not present or is set to 'r', then the tag - stack is replaced. If {action} is set to 'a', then new entries - from {dict} are pushed onto the tag stack. + How the tag stack is modified depends on the {action} + argument: + - If {action} is not present or is set to 'r', then the tag + stack is replaced. + - If {action} is set to 'a', then new entries from {dict} are + pushed (added) onto the tag stack. + - If {action} is set to 't', then all the entries from the + current entry in the tag stack or "curidx" in {dict} are + removed and then new entries are pushed to the stack. + + The current index is set to one after the length of the tag + stack after the modification. Returns zero for success, -1 for failure. |