Remove the unused cmd attributes and use picker.commands instead

This commit is contained in:
arthur 2024-06-15 23:10:55 +08:00
parent f22a6022c4
commit 1a277fb0d4

View file

@ -20,11 +20,6 @@ local M = setmetatable({}, {
---@type LazyPicker?
M.picker = nil
---@type table<string, string>
M.commands = {
files = "find_files",
}
---@param picker LazyPicker
function M.register(picker)
-- this only happens when using :LazyExtras