# Fix pattern order in C\+\+ highlight query · gitcafe/zed

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

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

Visibility: public

Requested revision: d48380bc48890021b51c601277538261ae514920

Requested commit: d48380bc48890021b51c601277538261ae514920

Commit: d48380bc48890021b51c601277538261ae514920

Tree: f3d03b81b8af8eb608500ca0a8e2c9eb42dba14d

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Fix pattern order in C++ highlight query

Later patterns take precedence in Zed, so function names were previously
being highlighted as variables due to the plain `identifier` pattern.

```

## Parents

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

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