zed/crates/language2
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
..
src Remove old Theme definition (#3195) 2023-10-31 23:05:50 -04:00
build.rs
Cargo.toml Get most of the language2 tests passing 2023-10-26 15:57:12 +02:00