maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

The completed word is inserted in the wrong position, if a german umlaut is present in the current line. #302

Closed pefoo closed 3 years ago

pefoo commented 3 years ago

Synopsis

The completed word is inserted in the wrong position, if a german umlaut is present in the current line.

Description

In the image below there is a word I want to autocomplete later in the first line. The top picture illustrates the line before actually invoking the completion. There are three german umlauts in the beginning of the line, followed by a space and the start of the word I want to autocomplete. Once I insert the suggested word, the single space as well as the last umlaut gets replaced (as seen in the bottom part of the screenshot) Completion for lines that do not contain a german umlaut works just fine.

image

Environment