# Weight scope matches to improve results \(\#3567\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 44890d6966b43c716c86ae7ea40befe70154de6b

Requested commit: 44890d6966b43c716c86ae7ea40befe70154de6b

Commit: 44890d6966b43c716c86ae7ea40befe70154de6b

Tree: 1b7875f672b8cf180280775f2a39a06c5f1bc1cd

Author: Marshall Bowers

Committer: GitHub

## Message

```
Weight scope matches to improve results (#3567)

This PR adds a simple weighting system for the matching of scopes from
the VS Code theme.

This gives us more control over the matches we get out of the theme, and
subsequently improves the results.

Release Notes:

- N/A
```

## Parents

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

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

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