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.getcmdcompltype

Dark deno-powered completion framework for neovim/Vim8
Very Popular
Go to Latest
function fn.getcmdcompltype
import { fn } from "https://deno.land/x/ddc_vim@v3.9.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>