Skip to content

[BUG] LSP stops when a file with an active buffer is renamed. #484

@antonkoetzler

Description

@antonkoetzler

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When you rename a file and it has an active buffer open, the LSP stops and you are forced to reopen the buffer.

Expected Behavior

When you rename a file and it has an active buffer open, the LSP should still usable in said active buffer. Of course, the LSP would need some time to load the new file name.

Steps To Reproduce

  1. Open a .dart file
  2. Open a buffer with the file
  3. Rename the file

Environment

- OS: Any
- Flutter version: Any
- Is flutter in $PATH: Yes
- neovim version: 0.11.2

Anything else?

Heres my config if you want to see my LSP configuration; I'm no pro.

I was unable to upload the recording, here is the Google Drive Link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions