Skip to content

flickering when typing with code lens enabled #55046

@xdBronch

Description

@xdBronch

Reproduction steps

  1. enable code lens
  2. type struct S; in a rust file to see the N implementations
  3. start typing, easier to see if you type beneath the struct

Current vs. Expected behavior

lots of flickering, it looks like the code lens is disappearing for a frame so the other text shifts around

2026-04-27.21-38-37.mp4

Zed version and system specs

Zed: v1.1.0+dev.0678d61f085e48308b06fc58172fda6764393453 (Zed Dev 0678d61)
OS: Linux Wayland arch unknown
Memory: 15.5 GiB
Architecture: x86_64
GPU: AMD Radeon RX 6950 XT (RADV NAVI21) || radv || Mesa 26.0.5-arch1.1

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json
{
  "code_lens": "on",
}

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Labels

state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions