mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-30 06:40:07 +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()
|
||||
|
||||
-- Map LazyVim picker names to CopilotChat integration modules
|
||||
local picker_map = {
|
||||
-- and get the corresponding CopilotChat integration module
|
||||
local integration = ({
|
||||
telescope = "telescope",
|
||||
fzf = "fzflua", -- Map "fzf" to "fzflua"
|
||||
fzf = "fzflua",
|
||||
snacks = "snacks",
|
||||
}
|
||||
|
||||
-- Get the corresponding CopilotChat integration module
|
||||
local integration = picker_map[picker]
|
||||
})[picker]
|
||||
|
||||
if not integration then
|
||||
LazyVim.warn(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue