neo-tree.nvim icon indicating copy to clipboard operation
neo-tree.nvim copied to clipboard

BUG: First time reveal will leave the cursor at the top

Open Kaiser-Yang opened this issue 10 months ago • 0 comments
trafficstars

Did you check docs and existing issues?

  • [X] I have read all the docs.
  • [X] I have searched the existing issues.
  • [X] I have searched the existing discussions.

Neovim Version (nvim -v)

0.10.1

Operating System / Version

WSL2 + Ubuntu 22.04 LTS

Describe the Bug

When the neo-tree is visible, and it is the opened at first, then use Neotree source=filesystem reveal will leave the cursor at top.

Screenshots, Traceback

No response

Steps to Reproduce

  1. Open neo-tree( just open don't do anything)

image

  1. Open any file, (don't use neo-tree to open, you can do this by telescope or other finder).
  2. Use Neotree source=filesystem reveal to reveal, the folder is expanded correctly, but the cursor is at top:

image

Expected Behavior

Make the cursor be where it should be.

Your Configuration

None.

Kaiser-Yang avatar Dec 31 '24 14:12 Kaiser-Yang