Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddu_vim/deps.ts>fn.getcmdcompltype

Dark deno-powered UI framework for neovim/Vim
Go to Latest
function fn.getcmdcompltype
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.

Returns

Promise<string>