diff options
author | Christoph Schmidler | 2022-10-03 14:34:29 +0000 |
---|---|---|
committer | GitHub | 2022-10-03 14:34:29 +0000 |
commit | 2fac9e24e565e976a8af8d82a4b6f2755a82a074 (patch) | |
tree | 2ca0e02e2ba383cc27dfdc9ef84c5442bb63ac96 /helix-view/Cargo.toml | |
parent | 57dc5fbe3aab5807e5895e37e609310b684e2c15 (diff) |
Inherit theme (#3067)
* Add RawTheme to handle inheritance with theme palette
* Add a intermediate step in theme loading
it uses RawTheme struct to load the original ThemePalette, so we can merge it with the inherited one.
* Load default themes via RawThemes, remove Theme deserialization
* Allow naming custom theme same as inherited one
* Remove RawTheme and use toml::Value directly
* Resolve all review changes resulting in a cleaner code
* Simplify return for Loader::load
* Add implementation to avoid extra step for loading of base themes
Diffstat (limited to 'helix-view/Cargo.toml')
-rw-r--r-- | helix-view/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/Cargo.toml b/helix-view/Cargo.toml index 266a5732..b96a537d 100644 --- a/helix-view/Cargo.toml +++ b/helix-view/Cargo.toml @@ -17,6 +17,7 @@ term = ["crossterm"] bitflags = "1.3" anyhow = "1" helix-core = { version = "0.6", path = "../helix-core" } +helix-loader = { version = "0.6", path = "../helix-loader" } helix-lsp = { version = "0.6", path = "../helix-lsp" } helix-dap = { version = "0.6", path = "../helix-dap" } crossterm = { version = "0.25", optional = true } |