Skip to content
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

attempt to index field 'scrollbar' (a nil value) when signature is enabled #525

Closed
2 tasks done
stefanboca opened this issue Dec 13, 2024 · 0 comments
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@stefanboca
Copy link
Collaborator

Make sure you have done the following

  • I have updated to the latest version of blink.cmp
  • I have read the README

Bug Description

e3b3fde introduced the following error when signature is enabled:

Error executing vim.schedule lua callback: ...ata/plugins/blink.cmp/lua/blink/cmp/signature/window.lua:157: attempt to index field 'scrollbar' (a nil value)
stack traceback:
	...ata/plugins/blink.cmp/lua/blink/cmp/signature/window.lua:157: in function 'update_position'
	...ata/plugins/blink.cmp/lua/blink/cmp/signature/window.lua:88: in function 'open_with_signature_help'
	.../data/plugins/blink.cmp/lua/blink/cmp/signature/init.lua:16: in function 'callback'
	...ata/plugins/blink.cmp/lua/blink/cmp/sources/lib/init.lua:216: in function 'fn'
	...orwho/data/plugins/blink.cmp/lua/blink/cmp/lib/async.lua:86: in function 'cb'
	...orwho/data/plugins/blink.cmp/lua/blink/cmp/lib/async.lua:44: in function 'resolve'
	...orwho/data/plugins/blink.cmp/lua/blink/cmp/lib/async.lua:167: in function 'resolve_if_completed'
	...orwho/data/plugins/blink.cmp/lua/blink/cmp/lib/async.lua:174: in function 'cb'
	...orwho/data/plugins/blink.cmp/lua/blink/cmp/lib/async.lua:44: in function 'resolve'
	...ns/blink.cmp/lua/blink/cmp/sources/lib/provider/init.lua:158: in function <...ns/blink.cmp/lua/blink/cmp/sources/lib/provider/init.lua:158>

Relevant configuration

signature = {
  enabled = true
}

neovim version

NVIM v0.11.0-dev+1335-g3f1d09bc9 Build type: RelWithDebInfo LuaJIT 2.1.1720049189

blink.cmp version: branch, tag, or commit

main

@stefanboca stefanboca added the bug Something isn't working label Dec 13, 2024
@Saghen Saghen closed this as completed in 790369b Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant