mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
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. <!-- Describe the big picture of your changes to communicate to the maintainers why we should accept this pull request. --> ## Does this PR fix an existing issue? no <!-- If this PR fixes any issues, please link to the issue here. Fixes #<issue_number> --> ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines.
This commit is contained in:
parent
540261d74d
commit
eca8692451
1 changed files with 0 additions and 5 deletions
|
@ -20,11 +20,6 @@ local M = setmetatable({}, {
|
||||||
---@type LazyPicker?
|
---@type LazyPicker?
|
||||||
M.picker = nil
|
M.picker = nil
|
||||||
|
|
||||||
---@type table<string, string>
|
|
||||||
M.commands = {
|
|
||||||
files = "find_files",
|
|
||||||
}
|
|
||||||
|
|
||||||
---@param picker LazyPicker
|
---@param picker LazyPicker
|
||||||
function M.register(picker)
|
function M.register(picker)
|
||||||
-- this only happens when using :LazyExtras
|
-- this only happens when using :LazyExtras
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue