style(copilot-chat): format

This commit is contained in:
Tony Fischer (tku137) 2025-01-26 12:06:30 +01:00
parent 9867d0c50d
commit d7f30978a2

View file

@ -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(