Skip to main content
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.13/ddc.ts";

Properties

private
events: string[]
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>
registerAutocmd(denops: Denops, events: string[])
registerFilter(
denops: Denops,
path: string,
name: string,
)
registerSource(
denops: Denops,
path: string,
name: string,
)