aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authorJaehwang Jung <tomtomjhj@gmail.com>2026-04-11 23:27:11 +0900
committerGitHub <noreply@github.com>2026-04-11 10:27:11 -0400
commit417d16df50acb47d634031007ffab748d95780e9 (patch)
treef0926eb8442a2779d26f75b8efda993ed02fe759 /scripts/lintcommit.lua
parent01567ad4f6582579f1ac3d232cd6d8071f58ef17 (diff)
downloadrneovim-417d16df50acb47d634031007ffab748d95780e9.tar.gz
rneovim-417d16df50acb47d634031007ffab748d95780e9.tar.bz2
rneovim-417d16df50acb47d634031007ffab748d95780e9.zip
fix(lsp): codelens text flickers #38782
Problem: When a new textDocument/codeLens response arrives with unresolved lenses, on_win clears the existing codelens row before codeLens/resolve completes. This causes the displayed codelens text to flicker while typing. Solution: Keep the current virtual lines if any of the refreshed lenses are still unresolved. Clear the old virtual lines only when the line no longer has lenses or all its lenses are resolved. A trade-off is that the user may temporarily see outdated codelenses. However, that's preferable to spamming updates on every refresh. AI-assisted: Codex
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions