mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-31 21:36:26 +00:00
d695de4504
Release Notes: - Fixed tab switcher icons not respecting the `tabs.git_status` setting. Fixes an issue mentioned in https://github.com/zed-industries/zed/pull/17115#issuecomment-2378966170 - file icons in the tab switcher weren't colored according to git status, even if `tabs.git_status` was set to true. I used a similar approach I saw in other places of the project to get the project entry and its git status, but maybe we could move the coloring logic entirely to `tab_icon()`? Wouldn't this break anything? --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
36 lines
830 B
TOML
36 lines
830 B
TOML
[package]
|
|
name = "tab_switcher"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/tab_switcher.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
collections.workspace = true
|
|
editor.workspace = true
|
|
gpui.workspace = true
|
|
menu.workspace = true
|
|
picker.workspace = true
|
|
project.workspace = true
|
|
serde.workspace = true
|
|
settings.workspace = true
|
|
ui.workspace = true
|
|
util.workspace = true
|
|
workspace.workspace = true
|
|
|
|
[dev-dependencies]
|
|
anyhow.workspace = true
|
|
ctor.workspace = true
|
|
env_logger.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
language = { workspace = true, features = ["test-support"] }
|
|
serde_json.workspace = true
|
|
theme = { workspace = true, features = ["test-support"] }
|
|
workspace = { workspace = true, features = ["test-support"] }
|