summaryrefslogtreecommitdiff
path: root/packages/server/src
diff options
context:
space:
mode:
authorTaylor Mullen <[email protected]>2025-04-27 23:19:08 -0700
committerN. Taylor Mullen <[email protected]>2025-04-27 23:25:08 -0700
commita9dc2772dda8d6c814a8f151aeb1e4e796a797d7 (patch)
tree59cfbb197df500e5838308aec71c99c40b0817cf /packages/server/src
parenta6e9bcb52df3c2e3620f971cd2093d8a755a8e0e (diff)
feat(cli): Improve new file diff rendering with syntax highlighting
- Enhance the component to provide better readability for newly created files. - Instead of displaying a standard line-by-line diff for new files, extract the added content and render it with syntax highlighting based on the file extension. - Refactor the existing diff rendering logic into a separate function. - Add a helper function to map common file extensions to language names for syntax highlighting. Fixes: https://b.corp.google.com/issues/414279447 Signed-off-by: Gemini, your friendly neighborhood code agent.
Diffstat (limited to 'packages/server/src')
0 files changed, 0 insertions, 0 deletions