inlay-hints
possible race-condition: inconsistent insertion order
#12666
Labels
C-bug
Category: This is a bug
Summary
This only happens in Insert-Mode
Reproduction Steps
So I was typing this:
Which renders as:
Note
Relevant deps:
typescript-language-server@4.3.3
(global)typescript@5.6.3
(local)I try to place the cursor just after
trim_low
to append "0" to its name, the cursor shows up after the hint rather than before. This seems to be intentional (see #5934), but the insertion order is inconsistent.I don't know exactly how it happened (I typed fast), but I managed to append the "0" to the name, while forcing it to render after (right-side) the hint, rather than the expected "before" (left-side):
I want to emphasize that despite the broken rendering, the LSP properly sees
trim_low0
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
GNOME Terminal 3.54.2 using VTE 0.78.2 +BIDI +GNUTLS +ICU +SYSTEMD
Installation Method
.deb
from "Releases" pageHelix Version
helix 25.01.1 (e7ac2fc)
The text was updated successfully, but these errors were encountered: