Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add italic styles to copilot suggestions
Mikayla Maki745e5e3a0905
diff --git a/styles/src/styleTree/editor.ts b/styles/src/styleTree/editor.tsindex 0c2435ed5ad..84ef51406ea 100644--- a/styles/src/styleTree/editor.ts+++ b/styles/src/styleTree/editor.ts@@ -44,9 +44,7 @@ export default function editor(colorScheme: ColorScheme) {activeLineBackground: withOpacity(background(layer, "on"), 0.75),highlightedLineBackground: background(layer, "on"),// Inline autocomplete suggestions, Co-pilot suggestions, etc.- suggestion: {- color: syntax.predictive.color,- },+ suggestion: syntax.predictive,codeActions: {indicator: {color: foreground(layer, "variant"),diff --git a/styles/src/themes/common/syntax.ts b/styles/src/themes/common/syntax.tsindex 50c3e4e3b73..925ed7e5c14 100644--- a/styles/src/themes/common/syntax.ts+++ b/styles/src/themes/common/syntax.ts@@ -181,6 +181,7 @@ function buildDefaultSyntax(colorScheme: ColorScheme): Syntax {},predictive: {color: color.predictive,+ italic: true,},emphasis: {color: color.emphasis,