File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ local M = {}
99--- User prompt actions
1010--- @param config CopilotChat.config.shared ?: The chat configuration
1111--- @return CopilotChat.integrations.actions ?: The prompt actions
12+ --- @deprecated Use |CopilotChat.select_prompt| instead
1213function M .prompt_actions (config )
1314 local actions = {}
1415 for name , prompt in pairs (chat .prompts ()) do
2526--- Pick an action from a list of actions
2627--- @param pick_actions CopilotChat.integrations.actions ?: A table with the actions to pick from
2728--- @param opts table ?: vim.ui.select options
29+ --- @deprecated Use |CopilotChat.select_prompt| instead
2830function M .pick (pick_actions , opts )
2931 if not pick_actions or not pick_actions .actions or vim .tbl_isempty (pick_actions .actions ) then
3032 return
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ local M = {}
77--- Pick an action from a list of actions
88--- @param pick_actions CopilotChat.integrations.actions ?: A table with the actions to pick from
99--- @param opts table ?: fzf-lua options
10+ --- @deprecated Use |CopilotChat.select_prompt| instead
1011function M .pick (pick_actions , opts )
1112 if not pick_actions or not pick_actions .actions or vim .tbl_isempty (pick_actions .actions ) then
1213 return
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ local M = {}
77--- Pick an action from a list of actions
88--- @param pick_actions CopilotChat.integrations.actions ?: A table with the actions to pick from
99--- @param opts table ?: snacks options
10+ --- @deprecated Use |CopilotChat.select_prompt| instead
1011function M .pick (pick_actions , opts )
1112 if not pick_actions or not pick_actions .actions or vim .tbl_isempty (pick_actions .actions ) then
1213 return
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ local M = {}
1313--- Pick an action from a list of actions
1414--- @param pick_actions CopilotChat.integrations.actions ?: A table with the actions to pick from
1515--- @param opts table ?: Telescope options
16+ --- @deprecated Use |CopilotChat.select_prompt| instead
1617function M .pick (pick_actions , opts )
1718 if not pick_actions or not pick_actions .actions or vim .tbl_isempty (pick_actions .actions ) then
1819 return
You can’t perform that action at this time.
0 commit comments