neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
573 stars 51 forks source link

Autocomplete doesn't insert remaining keyword if cursor is after underscore #288

Open gallor opened 3 years ago

gallor commented 3 years ago

This issue is related to #27.

When I enter a keyword and prompt the autocomplete menu I get all the suggestions (I do have set iskeyword+=_ enabled):

image

I hit tab and select the first item and it fills it in properly:

image

If I trigger the autocomplete instead after typing the underscore I still get all the correct suggestions:

image

But if select the next suggestion it ignores the part already there and inserts the whole suggestion:

image

Is this a setting I'm missing either in my vimrc/coc.config? Thanks!