diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-16 04:38:32 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-16 04:38:32 +0200 |
| commit | 5e0cf1ede41b2887db98ca61c8100cbe1da61170 (patch) | |
| tree | d3d172643fb18d8e9b03af591125909babb9c0d8 /docs | |
| parent | 409cec495ae619fa874e0e827ac620b881f84941 (diff) | |
Fix byte vs UTF-16 indexing in LSP position handling
Adds utf16OffsetToByteOffset helper to correctly convert LSP character
positions (UTF-16 code units) to Go string byte offsets. Fixes trigger
detection, prefix heuristic, and completion text slicing for files
containing multi-byte characters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
