# Fix snippets from extensions being listed twice \(\#28940\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/bdd0cbb71737bb206312fa96bbe9812aa12eea03)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: bdd0cbb71737bb206312fa96bbe9812aa12eea03

Requested commit: bdd0cbb71737bb206312fa96bbe9812aa12eea03

Commit: bdd0cbb71737bb206312fa96bbe9812aa12eea03

Tree: a31db6eaacb0e2e548ab9050abf12c0ca7de6093

Author: redforks

Committer: GitHub

## Message

```
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.
```

## Parents

- [022a110f8e8490f256513722926b4239d1f19efc](https://git.cafe/gitcafe/zed/commit/022a110f8e8490f256513722926b4239d1f19efc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/bdd0cbb71737bb206312fa96bbe9812aa12eea03?format=markdown)
