diff --git a/denops/ddu/base/column.ts b/denops/ddu/base/column.ts index e395e14..4962f9f 100644 --- a/denops/ddu/base/column.ts +++ b/denops/ddu/base/column.ts @@ -1,4 +1,10 @@ -import { ColumnOptions, DduItem, DduOptions, ItemHighlight } from "../types.ts"; +import { + ColumnOptions, + Context, + DduItem, + DduOptions, + ItemHighlight, +} from "../types.ts"; import { Denops } from "../deps.ts"; export type BaseColumnParams = Record; @@ -11,6 +17,7 @@ export type OnInitArguments = { export type GetLengthArguments = { denops: Denops; + context: Context; options: DduOptions; columnOptions: ColumnOptions; columnParams: Params; @@ -19,6 +26,7 @@ export type GetLengthArguments = { export type GetTextArguments = { denops: Denops; + context: Context; options: DduOptions; columnOptions: ColumnOptions; columnParams: Params; diff --git a/denops/ddu/base/filter.ts b/denops/ddu/base/filter.ts index 888d125..b3783af 100644 --- a/denops/ddu/base/filter.ts +++ b/denops/ddu/base/filter.ts @@ -1,4 +1,10 @@ -import { DduItem, DduOptions, FilterOptions, SourceOptions } from "../types.ts"; +import { + Context, + DduItem, + DduOptions, + FilterOptions, + SourceOptions, +} from "../types.ts"; import { Denops } from "../deps.ts"; export type BaseFilterParams = Record; @@ -17,6 +23,7 @@ export type OnRefreshItemsArguments = { export type FilterArguments = { denops: Denops; + context: Context; options: DduOptions; sourceOptions: SourceOptions; filterOptions: FilterOptions; diff --git a/denops/ddu/ddu.ts b/denops/ddu/ddu.ts index f71cf09..3d062c3 100644 --- a/denops/ddu/ddu.ts +++ b/denops/ddu/ddu.ts @@ -1650,6 +1650,7 @@ export class Ddu { items = await filter.filter({ denops, + context: this.context, options: this.options, sourceOptions, filterOptions, @@ -1688,6 +1689,7 @@ export class Ddu { const columnLength = await column.getLength({ denops, + context: this.context, options: this.options, columnOptions, columnParams, @@ -1697,6 +1699,7 @@ export class Ddu { for (const item of items) { const text = await column.getText({ denops, + context: this.context, options: this.options, columnOptions, columnParams,