fix: update colorizeCode calls to use new parameter order

The colorizeCode function signature was changed to have tabWidth as the
last parameter with a default value. Update all call sites to match.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-03-04 20:12:58 +08:00
parent 2819c7d887
commit 18f9e5ac34
3 changed files with 3 additions and 5 deletions

View file

@ -157,11 +157,11 @@ export const DiffRenderer: React.FC<DiffRendererProps> = ({
renderedOutput = colorizeCode(
addedContent,
language,
tabWidth,
availableTerminalHeight,
contentWidth,
theme,
settings,
tabWidth,
);
} else {
renderedOutput = renderDiffContent(