Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ddc_vim/deps.ts>fn.getcmdcompltype

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