| name | firefly-expressive-code-config |
| description | 修改 Firefly 代码高亮配置。Use when changing dark and light code themes or collapsible code behavior in src/config/expressiveCodeConfig.ts. |
Firefly Expressive Code Config
Overview
Tune syntax highlighting theme pair and long-code collapse strategy.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
- src/config/expressiveCodeConfig.ts
Common Keys
- darkTheme
- lightTheme
- pluginCollapsible.enable / lineThreshold / previewLines / defaultCollapsed
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.