import { fn } from "https://deno.land/x/ddu_vim@v4.0.0/deps.ts";
const { getcmdcompltype } = fn;
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.
Parameters
denops: Denops