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

fix(fzf-lua): update update_title and update_scrollbar to update_preview_title and update_preview_scrollbar #1034

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zhiim
Copy link

@zhiim zhiim commented Jan 10, 2025

Description

FzfWin:update_title and FzfWin:update_scrollbar were changed to FzfWin:update_preview_title and FzfWin:update_preview_scroolbar since ibhagwan/fzf-lua@fc70792

It will make an error when opening message history with fzf-lua :Noice fzf

Error executing vim.schedule lua callback: ...hare/nvim/lazy/noice.nvim/lua/noice/integrations/fzf.lua:75: attempt to call method 'update__title' (a nil value)
stack traceback:
	...hare/nvim/lazy/noice.nvim/lua/noice/integrations/fzf.lua:75: in function 'populate_preview_buf'
	...hare/nvim/lazy/fzf-lua/lua/fzf-lua/previewer/builtin.lua:377: in function 'populate_preview_buf'
	...hare/nvim/lazy/fzf-lua/lua/fzf-lua/previewer/builtin.lua:394: in function ''
	vim/_editor.lua: in function ''
	vim/_editor.lua: in function <vim/_editor.lua:0>

Related Issue(s)

Fixes #1029

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: :Noice fzf error
1 participant