mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03: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
@ -537,7 +537,7 @@ impl LanguageRegistry {
|
||||
.map(|l| l.config.name.to_string()),
|
||||
)
|
||||
.collect::<Vec<_>>();
|
||||
result.sort_unstable();
|
||||
result.sort_unstable_by_key(|language_name| language_name.to_lowercase());
|
||||
result
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user