import { fn } from "https://deno.land/x/ddc_vim@v0.17.0/deps.ts";
const { expandcmd } = fn;
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.
Returns the expanded string. Example:
:echo expandcmd('make %<.o')
Can also be used as a |method|:
GetCommand()->expandcmd()
Parameters
denops: Denops