mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-31 07:09:54 +02:00
style(copilot-chat): format
This commit is contained in:
parent
9867d0c50d
commit
d7f30978a2
1 changed files with 4 additions and 6 deletions
|
@ -14,14 +14,12 @@ function M.pick(kind)
|
||||||
local picker = LazyVim.pick.want()
|
local picker = LazyVim.pick.want()
|
||||||
|
|
||||||
-- Map LazyVim picker names to CopilotChat integration modules
|
-- Map LazyVim picker names to CopilotChat integration modules
|
||||||
local picker_map = {
|
-- and get the corresponding CopilotChat integration module
|
||||||
|
local integration = ({
|
||||||
telescope = "telescope",
|
telescope = "telescope",
|
||||||
fzf = "fzflua", -- Map "fzf" to "fzflua"
|
fzf = "fzflua",
|
||||||
snacks = "snacks",
|
snacks = "snacks",
|
||||||
}
|
})[picker]
|
||||||
|
|
||||||
-- Get the corresponding CopilotChat integration module
|
|
||||||
local integration = picker_map[picker]
|
|
||||||
|
|
||||||
if not integration then
|
if not integration then
|
||||||
LazyVim.warn(
|
LazyVim.warn(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue