Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.expandcmd

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.expandcmd
import { fn } from "https://deno.land/x/ddc_vim@v2.5.1/deps.ts";
const { expandcmd } = fn;

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') Can also be used as a |method|: GetCommand()->expandcmd()

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>