Skip to content

Commit

Permalink
Fix actionParams
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Aug 30, 2024
1 parent f08122b commit 4051946
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions denops/@ddu-uis/filer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import {
type Previewer,
type SourceInfo,
type UiOptions,
} from "jsr:@shougo/ddu-vim@~6.0.0/types";
import { BaseUi, type UiActions } from "jsr:@shougo/ddu-vim@~6.0.0/ui";
} from "jsr:@shougo/ddu-vim@~6.1.0/types";
import { BaseUi, type UiActions } from "jsr:@shougo/ddu-vim@~6.1.0/ui";
import {
printError,
treePath2Filename,
} from "jsr:@shougo/ddu-vim@~5.0.0/utils";
} from "jsr:@shougo/ddu-vim@~6.1.0/utils";

import type { Denops } from "jsr:@denops/std@~7.1.0";
import { batch } from "jsr:@denops/std@~7.1.0/batch";
Expand Down Expand Up @@ -703,7 +703,7 @@ export class Ui extends BaseUi<Params> {
cursorNext: async (args: {
denops: Denops;
uiParams: Params;
actionParams: unknown;
actionParams: BaseParams;
}) => {
const bufnr = await this.#getBufnr(args.denops);
const cursorPos = await fn.getbufvar(
Expand Down Expand Up @@ -738,7 +738,7 @@ export class Ui extends BaseUi<Params> {
cursorPrevious: async (args: {
denops: Denops;
uiParams: Params;
actionParams: unknown;
actionParams: BaseParams;
}) => {
const bufnr = await this.#getBufnr(args.denops);
const cursorPos = await fn.getbufvar(
Expand Down Expand Up @@ -773,7 +773,7 @@ export class Ui extends BaseUi<Params> {
expandItem: async (args: {
denops: Denops;
options: DduOptions;
actionParams: unknown;
actionParams: BaseParams;
}) => {
const item = await this.#getItem(args.denops);
if (!item) {
Expand Down Expand Up @@ -836,7 +836,7 @@ export class Ui extends BaseUi<Params> {
context: Context;
options: DduOptions;
uiParams: Params;
actionParams: unknown;
actionParams: BaseParams;
}) => {
const params = args.actionParams as DoActionParams;

Expand All @@ -860,7 +860,7 @@ export class Ui extends BaseUi<Params> {
context: Context;
options: DduOptions;
uiParams: Params;
actionParams: unknown;
actionParams: BaseParams;
getPreviewer?: (
denops: Denops,
item: DduItem,
Expand Down Expand Up @@ -892,7 +892,7 @@ export class Ui extends BaseUi<Params> {
},
previewExecute: async (args: {
denops: Denops;
actionParams: unknown;
actionParams: BaseParams;
}) => {
const command = (args.actionParams as PreviewExecuteParams).command;
await this.#previewUi.execute(args.denops, command);
Expand All @@ -919,7 +919,7 @@ export class Ui extends BaseUi<Params> {
denops: Denops;
context: Context;
options: DduOptions;
actionParams: unknown;
actionParams: BaseParams;
uiParams: Params;
}) => {
if (
Expand All @@ -942,7 +942,7 @@ export class Ui extends BaseUi<Params> {
updateOptions: async (args: {
denops: Denops;
options: DduOptions;
actionParams: unknown;
actionParams: BaseParams;
}) => {
await args.denops.dispatcher.updateOptions(
args.options.name,
Expand Down Expand Up @@ -983,7 +983,7 @@ export class Ui extends BaseUi<Params> {
context: Context;
options: DduOptions;
uiParams: Params;
actionParams: unknown;
actionParams: BaseParams;
getPreviewer?: (
denops: Denops,
item: DduItem,
Expand Down
2 changes: 1 addition & 1 deletion denops/@ddu-uis/filer/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
type PreviewContext,
type Previewer,
type TerminalPreviewer,
} from "jsr:@shougo/ddu-vim@~6.0.0/types";
} from "jsr:@shougo/ddu-vim@~6.1.0/types";

import type { Denops } from "jsr:@denops/std@~7.1.0";
import { batch } from "jsr:@denops/std@~7.1.0/batch";
Expand Down

0 comments on commit 4051946

Please sign in to comment.