Closed Joenhle closed 1 year ago
Can't reproduce with another language server, looks like ccls returns some extra for this, we need ccls's response to debug this. https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel
I found 'lv5l' in the ccls's log, do you need the full contents of this file?
[Trace - 19:16:15.088] Sending notification 'textDocument/didChange'.
Params: {
"textDocument": {
"uri": "file:///Users/huangjunhao/leetcode/c%2B%2B/%E6%9C%80%E9%95%BF%E8%BF%9E%E7%BB%AD%E5%BA%8F%E5%88%97_/main.cpp",
"version": 7
},
"contentChanges": [
{
"range": {
"start": {
"line": 18,
"character": 18
},
"end": {
"line": 18,
"character": 18
}
},
"text": "lv5l",
"rangeLength": 0
}
]
}
I just chose the 'for (i = 0; i < count; ++i' in the autocomplete list. why the log send notification 'textDocument/didChange' with 'lv5l' soon
bug from :behave mswin
in my config
Result from CocInfo
Describe the bug
When I use autocomplete, I sometimes generate extra characters, usually four or five, in the form of lvxxx.
example1 before tab
after tab
example2 before tab
aftertab
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
Screenshots (optional)
If applicable, add screenshots to help explain your problem.