Skip to content

"Buffer was closed" error when panel accept action takes place #473

Description

@xixiaofinland

A fresh new user here, thanks for the cool plugin!

Steps:
In the Rust file buffer (on the left), I take these actions:

  1. enter the insert mode
  2. type fn
  3. <M-CR> to open the panel on the right side (I configured it to open on the right)

I can see the panel successfully received multiple suggestions.
However, when I hit Enter to accept or :lua require("copilot.panel").accept(), the error appears.

Any tips?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions