Auto completion is duplicating the already typed parts of string
rochacbruno opened this issue · 4 comments
rochacbruno commented
I am using https://github.com/python-lsp/python-lsp-server installed with [all]
option.
When I go to a Rune such as os.pa
and hit Ctrl+Space
I expected the autocomplete to give me os.pa[th]
but is is giving me os.pa[path]
Is there any config I need to add?
Thanks again
AndCake commented
Hey thanks for opening the issue. On first sight it looks like this LSP server doesn't send textEdits along with the response and thus the editing range is missing as well. I will investigate if other data is coming along that I might be able to use instead.
rochacbruno commented
AndCake commented
@rochacbruno I created a fix for the issue above. Can you check if this works for you?
rochacbruno commented
@AndCake yes it works great! thanks again