From 6aa613d4ec0498f59313225ff0658a90eed08944 Mon Sep 17 00:00:00 2001 From: LU XIANGRUI <1078666705@qq.com> Date: Mon, 30 Nov 2026 12:26:32 +0900 Subject: [PATCH] fix(editor): drop the unused gutter icon group re-exports that fail knip (#6920) prefs.ts re-exported GUTTER_ICON_GROUPS and GutterIconGroup from ./localAppearance, but their users import localAppearance directly, so pnpm knip failed on main since #6912. Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com> Co-authored-by: wildcatDownstairs <26499420+wildcatDownstairs@users.noreply.github.com> --- src/editor/core/cm/prefs.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/editor/core/cm/prefs.ts b/src/editor/core/cm/prefs.ts index a608061c4..b9af97fb5 100644 --- a/src/editor/core/cm/prefs.ts +++ b/src/editor/core/cm/prefs.ts @@ -73,12 +73,10 @@ import { codeLensPositions } from "./codeLens"; import { stickyMove } from "./stickySelection"; import { wheelZoomStep } from "@/platform/wheelZoom"; export { - GUTTER_ICON_GROUPS, gutterIconsOn, localAppearanceField, setLocalAppearance, type EffectiveAppearance, - type GutterIconGroup, type LocalAppearanceKey, type LocalAppearanceOverride, } from "./localAppearance";