diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-23 12:11:05 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-23 17:48:12 +0800 |
commit | a9e6cf0e64ede3fc26226fed3a5f94a7f5020918 (patch) | |
tree | 0abdc8c22d68f6439a56d11cbc65e22000fb1790 /runtime | |
parent | ffa1335047047ac00280ac742bcc6dfcc7fa3589 (diff) | |
download | rneovim-a9e6cf0e64ede3fc26226fed3a5f94a7f5020918.tar.gz rneovim-a9e6cf0e64ede3fc26226fed3a5f94a7f5020918.tar.bz2 rneovim-a9e6cf0e64ede3fc26226fed3a5f94a7f5020918.zip |
vim-patch:8.2.4740: when expand() fails there is no error message
Problem: When expand() fails there is no error message.
Solution: When 'verbose' is set give an error message.
https://github.com/vim/vim/commit/575445200bd35283191ecd7a0d596b37c5b477a4
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/builtin.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index 2bd0415dab..df00c67082 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2048,6 +2048,9 @@ expand({string} [, {nosuf} [, {list}]]) *expand()* is not defined, an empty string is used. Using "%:p" in a buffer with no name, results in the current directory, with a '/' added. + When 'verbose' is set then expanding '%', '#' and <> items + will result in an error message if the argument cannot be + expanded. When {string} does not start with '%', '#' or '<', it is expanded like a file name is expanded on the command line. |