Add base keymap setting
Format all files Co-Authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
parent
3b31f10c6f
commit
19fc143209
12 changed files with 301 additions and 35 deletions
|
@ -47,11 +47,7 @@ impl ThemeSelector {
|
|||
let mut theme_names = registry
|
||||
.list(**cx.default_global::<StaffMode>())
|
||||
.collect::<Vec<_>>();
|
||||
theme_names.sort_unstable_by(|a, b| {
|
||||
a.is_light
|
||||
.cmp(&b.is_light)
|
||||
.then(a.name.cmp(&b.name))
|
||||
});
|
||||
theme_names.sort_unstable_by(|a, b| a.is_light.cmp(&b.is_light).then(a.name.cmp(&b.name)));
|
||||
let matches = theme_names
|
||||
.iter()
|
||||
.map(|meta| StringMatch {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue