Skip to content

Conversation

@MrSubidubi
Copy link
Member

Closes #42030

This matches what VSCode and basically also this capture does. However, the identifier capture was overridden by other captures, hence the need to be explicit here.

Before After
Bildschirmfoto 2025-11-10 um 17 56 28 Bildschirmfoto 2025-11-10 um 17 54 35

Release Notes:

  • Improved lifetime highlighting in Rust using the lifetime capture.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 10, 2025
@MrSubidubi MrSubidubi merged commit 2b369d7 into main Nov 10, 2025
25 checks passed
@MrSubidubi MrSubidubi deleted the lifetime-highlights branch November 10, 2025 18:41
11happy pushed a commit to 11happy/zed that referenced this pull request Dec 1, 2025
Closes zed-industries#42030

This matches what VSCode and basically also this capture does. However,
the identifier capture was overridden by other captures, hence the need
to be explicit here.

| Before | After | 
| - | - |
| <img width="930" height="346" alt="Bildschirmfoto 2025-11-10 um 17 56
28"
src="https://github.com/user-attachments/assets/e938c863-0981-4368-ab0a-a01dd04cfb24"
/> | <img width="930" height="346" alt="Bildschirmfoto 2025-11-10 um 17
54 35"
src="https://github.com/user-attachments/assets/f3b74011-c75c-448a-819e-80e7e8684e92"
/> |


Release Notes:

- Improved lifetime highlighting in Rust using the `lifetime` capture.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

2 participants