Closed mattn closed 8 years ago
suffix of completion break utf-8 bytes when the line is ended with utf-8 multi-byte.
pos is index of list of runes. So can't assoc with index of bytes.
Sorry for the delay. I mistakenly thought your second comment was withdrawing your proposed patch.
Thanks for the fix. Pulled.
suffix of completion break utf-8 bytes when the line is ended with utf-8 multi-byte.