nvim-tree / nvim-tree.lua

A file explorer tree for neovim written in lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NvimTreeFindFileToggle command does not find the file

numbcoder opened this issue · comments

OS
macOS 12.0.1

Neovim version
NVIM v0.7.0-dev+676-g4306b395d

Nvim-tree version
commit 2e33b16

Describe the bug
Execute NvimTreeFindFileToggle command, nvim-tree opened, but the tree is not expanded, and the cursor is not focused on the file.
If I expand the nvim-tree dir manually before execute NvimTreeFindFileToggle command, the command will be works well.

To Reproduce

  1. Open a file with Telescope
  2. Execute NvimTreeFindFileToggle command

Nvim-tree will be opened, but the cursor is not focused on the file.

Expected behavior
Nvim-tree will be opened, the dir will be expanded and the cursor will be focused on the file.

The issue already exists (#783) but it was closed for some reason