diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-12-25 07:47:18 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2021-12-25 08:32:58 +0800 |
commit | 7fa8411d8b219b37ffd56aa081ba7bf305858ce1 (patch) | |
tree | 462ab696c533c817534d747de9d53d45b79533a8 | |
parent | 8eff0ca6d50bf2ef0897a08f5fdbc0abed7c1266 (diff) | |
download | rneovim-7fa8411d8b219b37ffd56aa081ba7bf305858ce1.tar.gz rneovim-7fa8411d8b219b37ffd56aa081ba7bf305858ce1.tar.bz2 rneovim-7fa8411d8b219b37ffd56aa081ba7bf305858ce1.zip |
vim-patch:partial:6aa57295cfbe
Update runtime files
https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404
-rw-r--r-- | runtime/doc/eval.txt | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9a2b9f5069..2cbf06b3c0 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4163,11 +4163,12 @@ expand({string} [, {nosuf} [, {list}]]) *expand()* Can also be used as a |method|: > Getpattern()->expand() -expandcmd({expr}) *expandcmd()* - Expand special items in {expr} like what is done for an Ex - command such as `:edit`. This expands special keywords, like - with |expand()|, and environment variables, anywhere in - {expr}. "~user" and "~/path" are only expanded at the start. +expandcmd({string}) *expandcmd()* + Expand special items in String {string} like what is done for + an Ex command such as `:edit`. This expands special keywords, + like with |expand()|, and environment variables, anywhere in + {string}. "~user" and "~/path" are only expanded at the + start. Returns the expanded string. Example: > :echo expandcmd('make %<.o') @@ -4555,8 +4556,8 @@ fullcommand({name}) *fullcommand()* Get the full command name from a short abbreviated command name; see |20.2| for details on command abbreviations. - {name} may start with a `:` and can include a [range], these - are skipped and not returned. + The string argument {name} may start with a `:` and can + include a [range], these are skipped and not returned. Returns an empty string if a command doesn't exist or if it's ambiguous (for user-defined functions). |