-
Notifications
You must be signed in to change notification settings - Fork 233
ghost text: invalid 'col' out of range #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
@lopi-py the problem seems to be resolved for me. |
@Saghen I'm working on compat (trying to get supermaven working) and I'm getting this issue again. |
Although this might be because supermaven also inserts its own virtual text. In a bit I'll try disabling supermaven's ghost text, and I'll let you know if this still occurs. |
This still occurs, even when all |
Here's a minimal repro. In the file: pr| (where the completion item that triggers the error is {
cmp = {
kind_hl_group = "CmpItemKindSupermaven",
kind_text = "Supermaven"
},
cursor_column = 2,
documentation = {
kind = "markdown",
value = '```python\nprint("hello")\n```'
},
dup = 0,
insertTextFormat = 1,
kind = 1,
label = 'print("hello")',
score = 100,
score_offset = 0,
source_id = "supermaven",
source_name = "supermaven",
textEdit = {
insert = <1>{
["end"] = {
character = 3,
line = 0
},
start = {
character = 0,
line = 0
}
},
newText = 'print("hello")',
replace = <table 1>
}
} |
## Description Supermaven completion now works with the latest release of blink.cmp and blink.compat. I'll also take a look at the other ai extras soon. ~A draft for now, until some issues with ghost text are resolved, see Saghen/blink.cmp#257. Alternatively, enabling the supermaven extra could disable ghost text.~ ## Screenshots  ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
Make sure you have done the following
blink.cmp
Bug Description
this only happens on large rust project, where rust analyzer is slow to give response. there is a lot of "rust-analyzer: -32802: server cancelled the request". there is completion after like 500ms when rust analyzer give the response.
the problem might not be much the late response, but maybe also rust analyzer returning big function / types which are sometimes bigger than the screen
Relevant configuration
neovim version
NVIM v0.10.2 Build type: RelWithDebInfo LuaJIT 2.1.1727870382
blink.cmp
version: branch, tag, or commitd3e1c92
The text was updated successfully, but these errors were encountered: