You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encounter this error every time I try to run DiffviewOpen HEAD~1 and similar commands. The full error:
Error while fetching completions: Vim:E5108: Error executing Lua function: ...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:213: too many results to unpack
stack traceback:
[C]: in function 'unpack'
...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:213: in function <...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:191>
...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:165: in function <...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:160>
[C]: in function 'getcompletion'
...im/lazy/blink.cmp/lua/blink/cmp/sources/cmdline/init.lua:91: in function <...im/lazy/blink.cmp/lua/blink/cmp/sources/cmdline/init.lua:50>
[C]: in function 'pcall'
...al/share/nvim/lazy/blink.cmp/lua/blink/cmp/lib/async.lua:92: in function 'cb'
...al/share/nvim/lazy/blink.cmp/lua/blink/cmp/lib/async.lua:157: in function 'on_completion'
...al/share/nvim/lazy/blink.cmp/lua/blink/cmp/lib/async.lua:91: in function <...al/share/nvim/lazy/blink.cmp/lua/blink/cmp/lib/async.lua:90>
[C]: in function 'pcall'
...al/share/nvim/lazy/blink.cmp/lua/blink/cmp/lib/async.lua:65: in function 'new'
...
vim/shared.lua: in function 'tbl_map'
...e/nvim/lazy/blink.cmp/lua/blink/cmp/sources/lib/tree.lua:89: in function 'get_completions'
.../nvim/lazy/blink.cmp/lua/blink/cmp/sources/lib/queue.lua:48: in function 'get_completions'
...e/nvim/lazy/blink.cmp/lua/blink/cmp/sources/lib/init.lua:149: in function 'request_completions'
...re/nvim/lazy/blink.cmp/lua/blink/cmp/completion/init.lua:20: in function 'callback'
.../nvim/lazy/blink.cmp/lua/blink/cmp/lib/event_emitter.lua:28: in function 'emit'
...lazy/blink.cmp/lua/blink/cmp/completion/trigger/init.lua:270: in function 'show'
...lazy/blink.cmp/lua/blink/cmp/completion/trigger/init.lua:63: in function 'on_char_added'
...nvim/lazy/blink.cmp/lua/blink/cmp/lib/cmdline_events.lua:28: in function 'on_changed'
...nvim/lazy/blink.cmp/lua/blink/cmp/lib/cmdline_events.lua:48: in function <...nvim/lazy/blink.cmp/lua/blink/cmp/lib/cmdline_events.lua:47>
Error while fetching completions: Vim:E5108: Error executing Lua function: ...ocal/share/nvim/lazy/diffview.nvim/lua/diffview/init.lua:213: too many results to unpack
stack traceback:
[C]: in function 'unpack'
This is in neovim 0.11. Perhaps somewhat relevant, I am using blink.cmp and fzf-lua. This does not preclude me from using Diffview, just gets an annoying popup.
Kindly, let me know what else you need to know.
Overall this i
Expected behavior
I did not expect an error.
Actual behavior
Getting an error message with a long backtrace.
Steps to reproduce
Start entering DiffviewOpen HEAD~1. The error shows up before finish typing HEAD.
Health check
Output of :checkhealth diffview
==============================================================================
diffview: require("diffview.health").check()
Checking plugin dependencies ~
- OK nvim-web-devicons installed.
Checking VCS tools ~
- The plugin requires at least one of the supported VCS tools to be valid.
- OK Git found.
- OK Git is up-to-date. (2.43.5)
- WARNING Configured `hg_cmd` is not executable: 'hg'
Description
I encounter this error every time I try to run
DiffviewOpen HEAD~1
and similar commands. The full error:This is in neovim 0.11. Perhaps somewhat relevant, I am using blink.cmp and fzf-lua. This does not preclude me from using Diffview, just gets an annoying popup.
Kindly, let me know what else you need to know.
Overall this i
Expected behavior
I did not expect an error.
Actual behavior
Getting an error message with a long backtrace.
Steps to reproduce
Start entering
DiffviewOpen HEAD~1
. The error shows up before finish typing HEAD.Health check
Output of
:checkhealth diffview
Log info
Relevant info from
:DiffviewLog
Neovim version
Operating system and version
Linux 5.14.0-503.35.1.el9_5.x86_64 x86_64 GNU/Linux
Minimal config
The text was updated successfully, but these errors were encountered: