zbirenbaum / zbirenbaum/copilot.lua

Add autocmd `CopilotStatusChanged`

Open
#343 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

As the title says, this autocmd triggers when

  • loading auto suggestions
  • being enabled/disabled
  • error/warning occurs

Adding such autocmd can make it easier to integrate with other plugins and improve the statusline performance.

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.

Research direction

No files, tests, or entry points are named in the issue, so first locate the existing status and autocmd integration in the repository. Done should include a CopilotStatusChanged autocmd that triggers for loading suggestions, enable/disable changes, and errors or warnings, enabling other plugins to integrate with the status.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.