# file_finder: Fix filename matching to require contiguous characters \(\#28093\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 10821aae2c129305374e9c6005cb4e4faa3d13f4

Requested commit: 10821aae2c129305374e9c6005cb4e4faa3d13f4

Commit: 10821aae2c129305374e9c6005cb4e4faa3d13f4

Tree: de260ca7a2ce164b16437817a5e17cf7d88aac98

Author: Smit Barmase

Committer: GitHub

## Message

```
file_finder: Fix filename matching to require contiguous characters (#28093)

Improves https://github.com/zed-industries/zed/pull/27937 to only
prioritize file name if it's contiguous character match.

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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