Skip to content

fix(prompt): use correct variable in select_prompt#1555

Merged
deathbeam merged 1 commit intoCopilotC-Nvim:mainfrom
deathbeam:fix-promopts
Apr 16, 2026
Merged

fix(prompt): use correct variable in select_prompt#1555
deathbeam merged 1 commit intoCopilotC-Nvim:mainfrom
deathbeam:fix-promopts

Conversation

@deathbeam
Copy link
Copy Markdown
Collaborator

Replaces usage of the undefined 'prompts' variable with 'prompt_list'
in the select_prompt function. This ensures the correct prompt data is
used when invoking the ask method, preventing potential runtime errors.

Closes #1554

Replaces usage of the undefined 'prompts' variable with 'prompt_list'
in the select_prompt function. This ensures the correct prompt data is
used when invoking the ask method, preventing potential runtime errors.

Closes CopilotC-Nvim#1554
@deathbeam deathbeam merged commit bcfbbc2 into CopilotC-Nvim:main Apr 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Crash in CopilotChatPrompts (attempt to index a nil value)

1 participant