mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
feat: add tabWidth support for code highlighting and replace tabs with spaces in CodeColorizer
(cherry picked from commit 2849f907f68022ed2879216a764668878a0bb282)
This commit is contained in:
parent
9d8921db5f
commit
2819c7d887
3 changed files with 8 additions and 1 deletions
|
|
@ -157,6 +157,7 @@ export const DiffRenderer: React.FC<DiffRendererProps> = ({
|
|||
renderedOutput = colorizeCode(
|
||||
addedContent,
|
||||
language,
|
||||
tabWidth,
|
||||
availableTerminalHeight,
|
||||
contentWidth,
|
||||
theme,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue