# Fix missing highlight for macro_invocation bang \(\#41572\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b01a6fbdeaeb44698aa03ad04a48cab307b5ccf8

Requested commit: b01a6fbdeaeb44698aa03ad04a48cab307b5ccf8

Commit: b01a6fbdeaeb44698aa03ad04a48cab307b5ccf8

Tree: 5a75ae52e0a8992338749478ee7c0162b3003b91

Author: Hyeondong Lee

Committer: GitHub

## Message

```
Fix missing highlight for macro_invocation bang (#41572)

(Not sure if this was left out on purpose, but this makes things feel a
bit more consistent since [VS Code parses bang mark as part of the macro
name](https://github.com/microsoft/vscode/blob/main/extensions/rust/syntaxes/rust.tmLanguage.json#L889-L905))


Release Notes:
- Added the missing highlight for the bang mark in macro invocations.


| **Before** | **After** |
| :---: | :---: |
| <img width="684" height="222" alt="before"
src="https://github.com/user-attachments/assets/ae71eda3-76b5-4547-b2df-4e437a07abf5"
/> | <img width="646" height="236" alt="fixed"
src="https://github.com/user-attachments/assets/500deda5-d6d8-439c-8824-65c2fb0a5daa"
/> |
```

## Parents

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

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