Skip to content

Fern's buffer isn't restored properly when it's on a different tab #386

@paveloom

Description

@paveloom

This issue is somewhat similar to #116, but for a separate tab.

Step-by-step (tested with Neovim):

  1. Use the default minimal .vimrc as a configuration file

  2. Open any file in the editor

  3. Open Fern either as a drawer panel or as a split window

  4. Open any other file in a separate tab

    Here's what is should look like:
    fern-issue-1

  5. Now switch to the second tab and save the session: mksession! Session.vim

  6. Restart the editor and load the session: source Session.vim

  7. Switch back to the first tab

    The Fern's window appears to be empty:
    fern-issue-2

    It's still functional, though. However, calling the reload action causes this:
    fern-issue-3

    Changing the root directory or closing/reopening the tree viewer fixes these visual bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions