# Upgrade tree-sitter-rust, de-list bsn \(\#52251\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6d3ebd4ffea4f1c563395eb7cc30be0172e92e65

Requested commit: 6d3ebd4ffea4f1c563395eb7cc30be0172e92e65

Commit: 6d3ebd4ffea4f1c563395eb7cc30be0172e92e65

Tree: f0d8b5019cb90ffa1a5c9680bf42ef376fabf1dc

Author: Chris Biscardi

Committer: GitHub

## Message

```
Upgrade tree-sitter-rust, de-list bsn (#52251)

## Context

Recently, we put bsn in the list of "macros to not reparse as rust"
(#51353).

We have since updated tree-sitter-rust to better handle the `@"string"`,
`:"string"`, etc cases, and can un-list bsn from the special casing.

on main, the highlighting currently looks like this for `bsn` and for
`not` (represents "other macros"). Note the `:"player.bsn"` string is
re-parsed as rust tokens.

<img width="1728" height="1084" alt="Screenshot 2026-03-23 at 9 33
35 AM"
src="https://github.com/user-attachments/assets/94ea5a6d-228b-44dd-857b-c41edcbd9af0"
/>

This pr, plus the tree-sitter-rust updates results in better handling by
default.

<img width="1728" height="1084" alt="Screenshot 2026-03-23 at 11 38
47 AM"
src="https://github.com/user-attachments/assets/fb6f71e3-7bcf-4c06-8e84-ce0823010b2e"
/>

Release Notes:

- N/A
```

## Parents

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

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