rust-lang / rust-lang/rust-analyzer

nvim lsp: the inlay hint enabled, but not rendered on buffer at open

Open
#19,548 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-bug
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

nvim(0.10+) lsp: the inlay hint enabled, but not rendered on buffer at open.
If trigger the inlay hint to true again manually, if will show up.
Also happend in vscode (won't render at open, but show up after focus change).

rust-analyzer 0.3.2370-standalone (588948f267 2025-04-06)

Maybe a related issue and preview fix.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the inlay-hint behavior with Neovim 0.10+ and the reported rust-analyzer version. Compare the related rust-analyzer issue and preview fix linked in the report; done means inlay hints render when the buffer opens without manually enabling them or changing focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim, rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.