mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
8eff0ca6d5
commit
7fa8411d8b
@ -4163,11 +4163,12 @@ expand({string} [, {nosuf} [, {list}]]) *expand()*
|
|||||||
Can also be used as a |method|: >
|
Can also be used as a |method|: >
|
||||||
Getpattern()->expand()
|
Getpattern()->expand()
|
||||||
|
|
||||||
expandcmd({expr}) *expandcmd()*
|
expandcmd({string}) *expandcmd()*
|
||||||
Expand special items in {expr} like what is done for an Ex
|
Expand special items in String {string} like what is done for
|
||||||
command such as `:edit`. This expands special keywords, like
|
an Ex command such as `:edit`. This expands special keywords,
|
||||||
with |expand()|, and environment variables, anywhere in
|
like with |expand()|, and environment variables, anywhere in
|
||||||
{expr}. "~user" and "~/path" are only expanded at the start.
|
{string}. "~user" and "~/path" are only expanded at the
|
||||||
|
start.
|
||||||
Returns the expanded string. Example: >
|
Returns the expanded string. Example: >
|
||||||
:echo expandcmd('make %<.o')
|
:echo expandcmd('make %<.o')
|
||||||
|
|
||||||
@ -4555,8 +4556,8 @@ fullcommand({name}) *fullcommand()*
|
|||||||
Get the full command name from a short abbreviated command
|
Get the full command name from a short abbreviated command
|
||||||
name; see |20.2| for details on command abbreviations.
|
name; see |20.2| for details on command abbreviations.
|
||||||
|
|
||||||
{name} may start with a `:` and can include a [range], these
|
The string argument {name} may start with a `:` and can
|
||||||
are skipped and not returned.
|
include a [range], these are skipped and not returned.
|
||||||
Returns an empty string if a command doesn't exist or if it's
|
Returns an empty string if a command doesn't exist or if it's
|
||||||
ambiguous (for user-defined functions).
|
ambiguous (for user-defined functions).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user