Skip to content

The "-reveal" option should have more priority than cursor restorement or add a way to force it #146

@bluz71

Description

@bluz71

Hello,

Steps to reproduce the issue:

  • Open (Neo)vim in fern.vim repository

  • Start fern with :Fern . -drawer -toggle

  • Open tree autoload/fern/comparator (with l keys by default) and then open default.vim file

  • Navigate back to fern and close autoload/fern/comparator tree (with h keys by default). Note, close all subtrees as well.

  • Close fern with :Fern . -drawer -toggle

  • Reveal current default.vim file, this should work fine

  • Again close the tree autoload/fern/comparator, including subtrees

  • Close fern again with :Fern . -drawer -toggle

  • Reveal current default.vim file, this will not reveal the file in tree.

The expectation is that reveal should always reveal the file.

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions