# Fix TSX and JavaScript shorthand property syntax highlighting \(\#12512\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b218d8778da1fac7ef75af85afb336f7ed36621b

Requested commit: b218d8778da1fac7ef75af85afb336f7ed36621b

Commit: b218d8778da1fac7ef75af85afb336f7ed36621b

Tree: 22457e111f4d0b0d8cadf5dbf0dc19aadf0d03fd

Author: Jayden Seric

Committer: GitHub

## Message

```
Fix TSX and JavaScript shorthand property syntax highlighting (#12512)

This replicates the fix for the TypeScript language for
https://github.com/zed-industries/zed/issues/5239 in
https://github.com/zed-industries/zed/pull/12505 for the TSX and
JavaScript languages, fixing
https://github.com/zed-industries/zed/issues/12510 and fixing
https://github.com/zed-industries/zed/issues/12509 .

See
https://github.com/zed-industries/zed/pull/12505#issuecomment-2141002505
.

Keep in mind I don't have a proper Zed local development environment
setup to test these simple changes.

Release Notes:

- Fixed TSX shorthand property syntax highlighting
([#12510](https://github.com/zed-industries/zed/issues/12510)).
- Fixed JavaScript shorthand property syntax highlighting
([#12509](https://github.com/zed-industries/zed/issues/12509)).
```

## Parents

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

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