# Re-filter existing completions on selection update · gitcafe/zed

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

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

Visibility: public

Requested revision: 497626ef2b719062fd1e039bc09c27902821adf1

Requested commit: 497626ef2b719062fd1e039bc09c27902821adf1

Commit: 497626ef2b719062fd1e039bc09c27902821adf1

Tree: 1cb445f122680b8c73ed62b0c52e16a948406429

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Re-filter existing completions on selection update

We still request new completions, but this ensures results are up-to-date in the meantime.

Also: Cancel any pending completions task when we dismiss the completions dialog or start a new completions request.
Co-Authored-By: Antonio Scandurra <me@as-cii.com>

```

## Parents

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

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