Skip to main content
Module

x/dpp_vim/deps.ts>fn.getcmdcompltype

Dark powered plugin manager for Vim/neovim
Latest
function fn.getcmdcompltype
import { fn } from "https://deno.land/x/dpp_vim@v0.2.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>