Closed
Description
Description
When hide_root_folder
is true
, the 'a' keymap which normally prompts to add a file in the NvimTree window doesn't work when your root directory is empty.
I suspect this function or its caller may be at issue.
Neovim version
NVIM v0.7.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey
Operating system and version
macOS 12.4
nvim-tree version
Minimal config
require("nvim-tree").setup({ view = { hide_root_folder = true }})
Steps to reproduce
mkdir emptydir
cd emptydir
nvim
:NvimTreeOpen
- Press the [a] key
Expected behavior
"Create file " prompt should appear.
Actual behavior
Nothing happens.