Closed bhcleek closed 7 months ago
Fix text edit handling when multi-byte characters are involved. Use strcharpart() instead of treating the text to be modified as a slice of bytes, because the output of go#lsp#PositionOf is character position, not byte position.
Fixes #3641
Fix text edit handling when multi-byte characters are involved. Use strcharpart() instead of treating the text to be modified as a slice of bytes, because the output of go#lsp#PositionOf is character position, not byte position.
Fixes #3641