Fix snippets from extensions being listed twice (#28940)

lookup_snippets() merges global snippets and extension snippets, but
global_snippets::lookup_snippets() also returns extension snippets, make
them double

Closes #28661 

Release Notes:

- Fixed a bug where extension provided snippets were being displayed in
duplicate.
This commit is contained in:
redforks 2025-04-17 22:43:49 +08:00 committed by GitHub
parent 022a110f8e
commit bdd0cbb717
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 48 additions and 7 deletions

1
Cargo.lock generated
View file

@ -13330,6 +13330,7 @@ dependencies = [
"fs",
"futures 0.3.31",
"gpui",
"indoc",
"parking_lot",
"paths",
"schemars",