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

x/denops_std/function/mod.ts>getcmdcompltype

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

Return the type of the current command-line completion. Only works when the command line is being edited, thus requires use of c_CTRL-\_e or c_CTRL-R_=. See :command-completion for the return string. Also see getcmdtype(), setcmdpos(), getcmdline() and setcmdline(). Returns an empty string when completion is not defined.

Returns

Promise<string>