Skip to content

Document for URI could not be found: file:///real/path/file.txt #657

Description

@carlos-algms

If the file name changes, in the same buffer, every key press triggers an error until you reset neovim.

[Copilot.lua] RPC[Error] code_name = InvalidParams, message = "Document for URI could not be found: 
  file:///redacted/file.txt"

This can happen when:

  1. a new file got saved and hence gets a new name
  2. user run :file new-name.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions