Merge pull request #2233 from zed-industries/fix-code-folding-initialization

Initialize code fold indicators on buffer startup
This commit is contained in:
Mikayla Maki
2023-03-03 12:30:53 -08:00
committed by GitHub
8 changed files with 152 additions and 206 deletions
+16
View File
@@ -76,6 +76,22 @@ export default function editor(colorScheme: ColorScheme) {
color: foreground(layer, "on"),
},
},
ellipses: {
textColor: colorScheme.ramps.neutral(0.71).hex(),
cornerRadiusFactor: 0.15,
background: {
// Copied from hover_popover highlight
color: colorScheme.ramps.neutral(0.5).alpha(0.0).hex(),
hover: {
color: colorScheme.ramps.neutral(0.5).alpha(0.5).hex(),
},
clicked: {
color: colorScheme.ramps.neutral(0.5).alpha(0.7).hex(),
},
}
},
foldBackground: foreground(layer, "variant"),
},
diff: {