-
Notifications
You must be signed in to change notification settings - Fork 286
Open
Labels
bugSomething isn't workingSomething isn't workingwindowsModule which displays UIModule which displays UI
Description
Make sure you have done the following
- Updated to the latest version of
blink.cmp
- Searched for existing issues and documentation (try
<C-k>
on https://cmp.saghen.dev)
Bug Description
The rendered completion menu stays on the screen after closing the menu, or the menu becoming smaller.
This happens when completion.documentation.auto_show
is enabled and you "type faster" than auto_show_delay_ms
(for a consistent repro set it to lower numbers like 100), having other plugins installed (bufferline) and using the nixd
language server. After waiting for the lsp to start up and typing {in
, you will get some "dead" completion items that are only rendered but can't be selected, and doesn't get cleared.
This video illustrates the issue better:
2025-06-20.20-18-52.mp4
Relevant configuration
vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system 'curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua')()
require 'lazy.minit'.repro {
spec = {
{
'saghen/blink.cmp',
opts = {
fuzzy = {
implementation = 'lua',
},
completion = {
documentation = {
auto_show = true,
auto_show_delay_ms = 100,
},
},
},
},
{
'mason-org/mason.nvim',
build = ':MasonUpdate',
opts = {},
},
{
'mason-org/mason-lspconfig.nvim',
dependencies = { 'mason-org/mason.nvim', 'neovim/nvim-lspconfig' },
opts = {
ensure_installed = { 'nix' },
},
config = function()
vim.lsp.enable 'nixd'
-- optional, also reproducible without passing capabilities
local config = {
capabilities = require 'blink.cmp'.get_lsp_capabilities(),
}
vim.lsp.config('nixd', config)
end,
},
{
'akinsho/bufferline.nvim',
opts = {
options = {
diagnostics = 'nvim_lsp',
},
},
},
},
}
neovim
version
NVIM v0.12.0-nightly+0d65866
blink.cmp
version
PalanixYT
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwindowsModule which displays UIModule which displays UI