Skip to content

docs(ai): auto-trigger copilot.lua#178

Merged
mehalter merged 1 commit intoAstroNvim:mainfrom
AnsonH:docs/copilot-lua
Feb 1, 2026
Merged

docs(ai): auto-trigger copilot.lua#178
mehalter merged 1 commit intoAstroNvim:mainfrom
AnsonH:docs/copilot-lua

Conversation

@AnsonH
Copy link
Contributor

@AnsonH AnsonH commented Feb 1, 2026

📑 Description

Updates the "Recipes > AI Completion > copilot.lua" sample code snippet to enable auto-triggering of Copilot inline suggestions.

Why?

The plugin has auto_trigger = false by default, which means we need to use the next, prev or accept keymap to trigger copilot suggestion. That may not be immediately obvious to new users (including me 😄) as they may expect similar behaviour as VS Code's Copilot extension (which auto triggers by default).

📖 Additional Information

Reference: https://github.com/zbirenbaum/copilot.lua?tab=readme-ov-file#suggestion

@netlify
Copy link

netlify bot commented Feb 1, 2026

Deploy Preview for peaceful-platypus-6db452 ready!

Name Link
🔨 Latest commit 3dffa2c
🔍 Latest deploy log https://app.netlify.com/projects/peaceful-platypus-6db452/deploys/697f75e095ded70008d5dcee
😎 Deploy Preview https://deploy-preview-178--peaceful-platypus-6db452.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@mehalter mehalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds great! Thanks!

@mehalter mehalter merged commit ea60229 into AstroNvim:main Feb 1, 2026
5 checks passed
@AnsonH AnsonH deleted the docs/copilot-lua branch February 1, 2026 15:53
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.

2 participants