summaryrefslogtreecommitdiff
path: root/prompts
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-16 04:38:32 +0200
committerPaul Buetow <paul@buetow.org>2026-03-16 04:38:32 +0200
commit5e0cf1ede41b2887db98ca61c8100cbe1da61170 (patch)
treed3d172643fb18d8e9b03af591125909babb9c0d8 /prompts
parent409cec495ae619fa874e0e827ac620b881f84941 (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 'prompts')
0 files changed, 0 insertions, 0 deletions