ZIm/crates/language2/src
Marshall Bowers 36a73d657a
Remove old Theme definition (#3195)
This PR removes the old `Theme` definition in favor of the new
`ThemeVariant`s.

The new `SyntaxStyles` have been reverted to the old `SyntaxTheme` that
operates by storing the syntax styles as a vector of
`gpui2::HighlightStyle`s.

This is necessary for the intended usage by `language2`, where we find
the longest key in the theme's syntax styles that matches the capture
name:

18431051d9/crates/language2/src/highlight_map.rs (L15-L41)
2023-10-31 23:05:50 -04:00
..
syntax_map Get remaining language2 tests passing 2023-10-26 16:38:50 +02:00
buffer.rs Port changes from #3154 to zed2 2023-10-27 13:24:37 +02:00
buffer_tests.rs Rename Handle to Model 2023-10-30 19:44:01 +01:00
diagnostic_set.rs Checkpoint 2023-10-23 10:59:29 +02:00
highlight_map.rs Get remaining language2 tests passing 2023-10-26 16:38:50 +02:00
language2.rs Remove old Theme definition (#3195) 2023-10-31 23:05:50 -04:00
language_settings.rs Load themes from settings and rework Settings trait 2023-10-25 20:37:55 +02:00
outline.rs Checkpoint 2023-10-23 10:59:29 +02:00
proto.rs Get RPC2 tests passing 2023-10-26 12:47:37 +02:00
syntax_map.rs WIP 2023-10-23 11:43:08 +02:00