summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-11-27 20:30:00 -0600
committerAdam <[email protected]>2025-11-28 05:35:35 -0600
commitcb2dd34a5e6d24e6e25e58b44db10fd823b83bc4 (patch)
tree0a93c92074db5fd4d7ae780b007b0a6a539adef9
parent7112a706b8c9bb557d0e7e583bddaa63cbb2b522 (diff)
downloadopencode-cb2dd34a5e6d24e6e25e58b44db10fd823b83bc4.tar.gz
opencode-cb2dd34a5e6d24e6e25e58b44db10fd823b83bc4.zip
fix: unified diff as default
-rw-r--r--packages/ui/src/components/pierre.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/ui/src/components/pierre.ts b/packages/ui/src/components/pierre.ts
index ef01318de..5821697c7 100644
--- a/packages/ui/src/components/pierre.ts
+++ b/packages/ui/src/components/pierre.ts
@@ -6,7 +6,7 @@ export function createDefaultOptions<T>(style: FileDiffOptions<T>["diffStyle"])
themeType: "system",
disableLineNumbers: false,
overflow: "wrap",
- diffStyle: style,
+ diffStyle: style ?? "unified",
diffIndicators: "bars",
disableBackground: false,
expansionLineCount: 20,