mirror of https://github.com/folke/lazy.nvim.git
fix(commands): E5108 in getcompletions (#207)
This commit is contained in:
parent
0b1e083937
commit
acd6697d88
|
@ -56,7 +56,7 @@ M.commands = {
|
||||||
}
|
}
|
||||||
|
|
||||||
function M.complete(cmd, prefix)
|
function M.complete(cmd, prefix)
|
||||||
if not ViewConfig.commands[cmd].plugins then
|
if not (ViewConfig.commands[cmd] or {}).plugins then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
---@type string[]
|
---@type string[]
|
||||||
|
|
Loading…
Reference in New Issue