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
Will there be support to include cmdline registration for nvim-cmp? As of now, if I try to run :Dbee open, I will get an error:
Error executing vim.schedule lua callback: Vim:E5108: Error executing Lua function: vim/shared.lua:0: t: expected table, got nil
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
vim/shared.lua: in function <vim/shared.lua:0>
[C]: in function 'getcompletion'
...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:136: in function 'exec'
...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:202: in function 'complete'
...lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:341: in function 'complete'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:308: in function 'complete'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:178: in function 'autoindent'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:170: in function 'on_change'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:366: in function 'callback'
.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:165: in function <.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:163>
stack traceback:
[C]: in function 'getcompletion'
...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:136: in function 'exec'
...cal/share/nvim/lazy/cmp-cmdline/lua/cmp_cmdline/init.lua:202: in function 'complete'
...lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:341: in function 'complete'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:308: in function 'complete'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:178: in function 'autoindent'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:170: in function 'on_change'
...s/lyang/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:366: in function 'callback'
Dbee .../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:165: in function <.../.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/async.lua:163>
I found the only way to prevent this error from popping up is to ignore Dbee command when setting up nvim-cmp. E.g.
cmp.setup.cmdline(":", {
sources = {
{name = "path"},
{
name = "cmdline",
option = {
ignore_cmds = {
"Man", -- default
"!", -- default
"Dbee" -- ignore due to errors being triggered for this plugin
}
}
}
}
})
The text was updated successfully, but these errors were encountered:
Will there be support to include cmdline registration for nvim-cmp? As of now, if I try to run
:Dbee open
, I will get an error:I found the only way to prevent this error from popping up is to ignore
Dbee
command when setting upnvim-cmp
. E.g.The text was updated successfully, but these errors were encountered: