From eca86924510676667a3868efc512588749f6594e Mon Sep 17 00:00:00 2001 From: Arthur <82575487+arthur-mountain@users.noreply.github.com> Date: Sun, 16 Jun 2024 00:54:39 +0800 Subject: [PATCH] fix(pick): remove the unused commands attribute (#3673) ## What is this PR for? When we register a picker, such as a Telescope picker or a fzf-lua picker, we use commands within their own picker. For example, we use M.picker.commands instead of M.pick.commands. ## Does this PR fix an existing issue? no ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- lua/lazyvim/util/pick.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lua/lazyvim/util/pick.lua b/lua/lazyvim/util/pick.lua index e8b08e93..e4da432f 100644 --- a/lua/lazyvim/util/pick.lua +++ b/lua/lazyvim/util/pick.lua @@ -20,11 +20,6 @@ local M = setmetatable({}, { ---@type LazyPicker? M.picker = nil ----@type table -M.commands = { - files = "find_files", -} - ---@param picker LazyPicker function M.register(picker) -- this only happens when using :LazyExtras