zed/crates
Antonio Scandurra fbf7cdf4f2 Make all HighlightStyle properties optional
Previously, some of those properties such the font weight, style and color
would be mandatory: when the theme didn't specify them, Zed would use a default
value during deserialization. This meant that those default properties would
unconditionally override the base text style, causing a rendering bug when
combining syntax highlights with diagnostic styles.

This commit fixes that by making `HighlightStyle`s more additive: each property
can be set independently and only the properties that theme specifies get
overridden in the base text style.
2022-03-15 10:39:43 +01:00
..
chat_panel Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
client Don't starve main thread when lots of messages/events arrive at once 2022-03-11 10:09:13 +01:00
clock Put vector clock serialization logic alongside other serialization logic 2022-03-04 13:54:07 -08:00
collections Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
contacts_panel Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
diagnostics Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
editor Make all HighlightStyle properties optional 2022-03-15 10:39:43 +01:00
file_finder Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
fsevent Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
fuzzy Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
go_to_line Merge branch 'main' into settings-file 2022-03-13 10:43:23 -07:00
gpui Make all HighlightStyle properties optional 2022-03-15 10:39:43 +01:00
gpui_macros Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
journal Disable doctests for all libraries 2022-03-03 16:15:56 -08:00
language Autoclose brackets before a language-specific set of characters 2022-03-14 15:17:40 -07:00
lsp Start work on relaying settings to language servers 2022-03-11 17:36:27 -08:00
outline Merge branch 'main' into settings-file 2022-03-13 10:43:23 -07:00
project Open settings file in new window if current window isn't local 2022-03-14 17:12:07 -07:00
project_panel Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
project_symbols Make all HighlightStyle properties optional 2022-03-15 10:39:43 +01:00
rpc Bump protocol version number 2022-03-14 15:57:39 -07:00
search Merge branch 'main' into settings-file 2022-03-13 10:43:23 -07:00
server Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
snippet Add a snippet unit test with an escaped curly brace 2022-03-11 13:02:20 -08:00
sum_tree WIP 2022-03-10 11:32:14 -07:00
text Don't reuse excerpt ids in MultiBuffer 2022-03-11 08:50:50 -07:00
theme When renaming, fade out the old name and select all 2022-03-10 14:55:31 -07:00
theme_selector Store settings as a global via a gpui app_state 2022-03-11 15:58:58 -08:00
util Make timer method available on both foreground and background executors 2022-03-04 13:54:07 -08:00
workspace Open settings file in new window if current window isn't local 2022-03-14 17:12:07 -07:00
zed Open settings file in new window if current window isn't local 2022-03-14 17:12:07 -07:00