# Revert "Capture \`shorthand_field_initializer\` and modules in Rust highlights \(\#35842\)" \(\#36880\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2dc4f156b387ccd4698fbf1a5e54ea7050b738ca

Requested commit: 2dc4f156b387ccd4698fbf1a5e54ea7050b738ca

Commit: 2dc4f156b387ccd4698fbf1a5e54ea7050b738ca

Tree: bdee97b2273ec235ceafcaf690a2d5d5fdcc76a1

Author: Marshall Bowers

Committer: GitHub

## Message

```
Revert "Capture `shorthand_field_initializer` and modules in Rust highlights (#35842)" (#36880)

This PR reverts https://github.com/zed-industries/zed/pull/35842, as it
broke the syntax highlighting for `crate`:

### Before Revert

<img width="367" height="70" alt="Screenshot 2025-08-25 at 11 29 50 AM"
src="https://github.com/user-attachments/assets/ce9b8b59-4e89-43ed-84c7-95c0156b9168"
/>

### After Revert

<img width="353" height="69" alt="Screenshot 2025-08-25 at 11 32 17 AM"
src="https://github.com/user-attachments/assets/b6df5a21-64db-4abf-aa76-f085236da0c4"
/>

This reverts commit 896a35f7befce468427a30489adf88c851b9507d.

Release Notes:

- Reverted https://github.com/zed-industries/zed/pull/35842.
```

## Parents

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

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