runtime(doc): update list of modifiers at :h expand()
Commit:
https://github.com/vim/vim/commit/992e30774f5ec81f53d5554c42137d3c85999081
Author: Christian Brabandt <[email protected]>
Date: Mon Sep 29 19:15:52 2025 +0000
runtime(doc): update list of modifiers at :h expand()
fixes: https://github.com/vim/vim/issues/18435
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index c3f531f66..13e73add6 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -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
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 748b5ae0a..e644fd11d 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 9.1. Last change: 2025 Sep 28
+*options.txt* For Vim version 9.1. Last change: 2025 Sep 29
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3709,7 +3709,7 @@ A jump table for the options with a short description can
be found at |Q_op|.
command to find the illegal byte sequence.
WRONG VALUES: WHAT'S WRONG:
latin1,utf-8 "latin1" will always be used
- utf-8,ucs-bom,latin1 BOM won't be recognized in an utf-8
+ utf-8,ucs-bom,latin1 BOM won't be recognized in a utf-8
file
cp1250,latin1 "cp1250" will always be used
If 'fileencodings' is empty, 'fileencoding' is not modified.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v3JZX-001kVg-D0%40256bit.org.