dash.nvim
dash.nvim copied to clipboard
Refactor in ibhagwan/fzf-lua main branch does not work with current plugin
The refactor in https://github.com/ibhagwan/fzf-lua/commit/817df87a8ebd2137aa42c2fa370e33b980e313dc has broken the plugin when using main.
Error detected while processing function <SNR>160_dash_nvim_search:
line 4:
E5108: Error executing lua ...en/.vim/plugged/dash.nvim/lua/dash/providers/fzf-lua.lua:67: attempt to call field 'set_fzf_interactive_cb' (a nil value)
stack traceback:
...en/.vim/plugged/dash.nvim/lua/dash/providers/fzf-lua.lua:67: in function 'search'
[string "luaeval()"]:1: in main chunk
Workaround:
Plug 'ibhagwan/fzf-lua', {'commit': '341f0641ea4b0bd1cb798d7138f1a84c90848b02'}
Plug 'mrjones2014/dash.nvim', { 'do': 'make install' }
@oeuftete thanks for reporting.
Is the workaround still working for you? I checked out the above commit in fzf-lua however I still get the same error message. I did make install in the dash.nvim clone after as well.
Sorry I don't really have time to work on this project much between my job and my other plugins with many more users.
Does fzf-lua support hooking into vim.ui.select()? If so, it should be very simple to create a new results provider that uses vim.ui.select() which could be a sufficient workaround. I'd gladly review and merge a PR.