runtime(doc): update list of modifiers at :h expand()

fixes: #18435

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-09-29 19:15:52 +00:00
parent ca6a260ef1
commit 992e30774f
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
*builtin.txt* For Vim version 9.1. Last change: 2025 Sep 28
*builtin.txt* For Vim version 9.1. Last change: 2025 Sep 29
VIM REFERENCE MANUAL by Bram Moolenaar
@ -3009,6 +3009,9 @@ expand({string} [, {nosuf} [, {list}]]) *expand()*
:r root (one extension removed)
:e extension only
More modifiers are supported, for the full list see
|filename-modifiers|.
Example: >
:let &tags = expand("%:p:h") .. "/tags"
< Note that when expanding a string that starts with '%', '#' or