mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Merge pull request #2289 from zed-industries/sort-language-names-case-agnostically
Sort language names case agnostically
This commit is contained in:
commit
385dfe1661
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ impl LanguageRegistry {
|
||||||
.map(|l| l.config.name.to_string()),
|
.map(|l| l.config.name.to_string()),
|
||||||
)
|
)
|
||||||
.collect::<Vec<_>>();
|
.collect::<Vec<_>>();
|
||||||
result.sort_unstable();
|
result.sort_unstable_by_key(|language_name| language_name.to_lowercase());
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue