Skip to content

Renaming a file open in a hidden buffer blanks the buffer #371

@ealang

Description

@ealang

Hi, thanks for the great plugin!

I came across one issue with renames and hidden buffers. If you rename a file open in a hidden buffer, then navigate back to the buffer, the buffer is now empty until you reload it (e.g. with ":e"). Runs the risk of accidentally writing the empty buffer to disk. The buffer appears to get renamed correctly, but the contents are gone. No issue with visible buffers.

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