Fix E5108 in getcompletions

This commit is contained in:
Nir Tzachar 2022-12-28 13:24:04 +02:00
commit 1587da25ab

View file

@ -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[]