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

x/ddc_vim/ddc.ts>Ddc

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
class Ddc
import { Ddc } from "https://deno.land/x/ddc_vim@v0.0.12/ddc.ts";

Properties

private
filters: Record<string, BaseFilter>
private
prevResults: Record<string, DdcResult>
private
sources: Record<string, BaseSource>

Methods

private
filterCandidates(
denops: Denops,
context: Context,
options: DdcOptions,
sourceOptions: SourceOptions,
filterOptions: Record<string, Partial<FilterOptions>>,
filterParams: Record<string, Partial<Record<string, unknown>>>,
completeStr: string,
cdd: Candidate[],
): Promise<Candidate[]>
private
foundFilters(names: string[]): BaseFilter[]
private
foundSources(names: string[]): BaseSource[]
gatherResults(
denops: Denops,
context: Context,
options: DdcOptions,
): Promise<[number, DdcCandidate[]]>
onEvent(
denops: Denops,
context: Context,
options: DdcOptions,
): Promise<void>
registerFilter(
denops: Denops,
path: string,
name: string,
)
registerSource(
denops: Denops,
path: string,
name: string,
)