From bb8f0ce28511953d2cb0447b19e800621436577b Mon Sep 17 00:00:00 2001 From: mityu Date: Wed, 14 Jan 2026 18:19:21 +0900 Subject: [PATCH] fix: Don't export the `Detail` type in gin-action source It leads to a unwilling result where the gin-action source's `Detail` type appears at the toplevel of `@vim-fall/extra/source`. --- action/gin_action_execute.ts | 6 +++++- source/gin_action.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/action/gin_action_execute.ts b/action/gin_action_execute.ts index 0e5813a..0163699 100644 --- a/action/gin_action_execute.ts +++ b/action/gin_action_execute.ts @@ -1,7 +1,11 @@ import { useEval } from "@denops/std/eval/use-eval"; import { feedkeys } from "@denops/std/function"; +import type { RawString } from "@denops/std/eval/string"; import { type Action, defineAction } from "@vim-fall/std/action"; -import type { Detail } from "@vim-fall/extra/source/gin-action"; + +type Detail = { + gin: { actionKey: RawString }; +}; /** * Execute a gin action on the current vim-gin's buffer. diff --git a/source/gin_action.ts b/source/gin_action.ts index 885b189..219c788 100644 --- a/source/gin_action.ts +++ b/source/gin_action.ts @@ -3,7 +3,7 @@ import { type RawString, rawString as r } from "@denops/std/eval/string"; import { enumerate } from "@core/iterutil/enumerate"; import { defineSource, type Source } from "@vim-fall/std/source"; -export type Detail = { +type Detail = { gin: { actionKey: RawString }; };