zbirenbaum / zbirenbaum/copilot.lua

Is there any way to access the copilot suggestion in an autocommand?

Open
#287 1 comment 0 reactions 1 assignee View on GitHub

@AntoineGS is already working on this.

Since Mar 30, 2025.

enhancement
Dominant language
Lua
Stars
4.1k
Forks
161
Avg merge
11h 54m
Merged PRs (30d)
13

Description

I might be being dumb but I can't see any way to access a suggestion in the init.lua when it occurs. I wanted to automatically dismiss any suggestions under 5 characters.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.