Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>fullcommand

๐Ÿ“š Standard module for denops.vim
Go to Latest
function fullcommand
import { fullcommand } from "https://deno.land/x/denops_std@v3.6.0/function/vim/mod.ts";

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. Returns an empty string if a command doesn't exist or if it's ambiguous (for user-defined functions). For example fullcommand('s'), fullcommand('sub'), fullcommand(':%substitute') all return "substitute". Can also be used as a |method|: GetName()->fullcommand()

Parameters

denops: Denops
name: unknown

Returns

Promise<unknown>