Skip to content

Commit 18ad474

Browse files
committed
update ddc.vim
1 parent f290ffe commit 18ad474

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

denops/ddc-file/deps.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
export type {
22
Candidate,
33
Context,
4-
} from "https://deno.land/x/ddc_vim@v0.5.2/types.ts";
5-
export { BaseSource } from "https://deno.land/x/ddc_vim@v0.5.2/types.ts";
6-
export type { Denops } from "https://deno.land/x/ddc_vim@v0.5.2/deps.ts";
7-
export { fn, vars } from "https://deno.land/x/ddc_vim@v0.5.2/deps.ts";
4+
} from "https://deno.land/x/ddc_vim@v0.11.0/types.ts";
5+
export { BaseSource } from "https://deno.land/x/ddc_vim@v0.11.0/types.ts";
6+
export type { Denops } from "https://deno.land/x/ddc_vim@v0.11.0/deps.ts";
7+
export { fn, vars } from "https://deno.land/x/ddc_vim@v0.11.0/deps.ts";
88
export type {
99
GatherCandidatesArguments,
10-
} from "https://deno.land/x/ddc_vim@v0.5.2/base/source.ts";
11-
export * as path from "https://deno.land/std@0.106.0/path/mod.ts";
12-
export * as io from "https://deno.land/std@0.106.0/io/mod.ts";
13-
export * as fs from "https://deno.land/std@0.106.0/fs/mod.ts";
14-
export * as asserts from "https://deno.land/std@0.106.0/testing/asserts.ts";
10+
} from "https://deno.land/x/ddc_vim@v0.11.0/base/source.ts";
11+
export * as path from "https://deno.land/std@0.107.0/path/mod.ts";
12+
export * as io from "https://deno.land/std@0.107.0/io/mod.ts";
13+
export * as fs from "https://deno.land/std@0.107.0/fs/mod.ts";
14+
export * as asserts from "https://deno.land/std@0.107.0/testing/asserts.ts";
1515
export {
1616
asyncIteratorFrom as fromA,
1717
iteratorFrom as from,

denops/ddc-sources/file.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const existsDir = async (filePath: string): Promise<boolean> => {
3939
}
4040
};
4141

42-
export class Source extends BaseSource {
42+
export class Source extends BaseSource<Params> {
4343
async gatherCandidates(
44-
args: GatherCandidatesArguments,
44+
args: GatherCandidatesArguments<Params>,
4545
): Promise<Candidate[]> {
4646
const p = args.sourceParams as Params;
4747
const mode = p.mode === "os"

doc/ddc-file.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ EXAMPLES *ddc-file-examples*
5050
\ 'file': {
5151
\ 'mark': 'F',
5252
\ 'isVolatile': v:true,
53-
\ 'minAutoCompleteLength': 1000,
5453
\ 'forceCompletionPattern': '\S/\S*',
5554
\ }})
5655
call ddc#custom#patch_filetype(

0 commit comments

Comments
 (0)