Closed
Description
Description
I am unable to open a file and read it because nvim-tree, when selecting a file, will open a nonexistent file. The route it should be opening should be \app\(pages)\(app)\document\[id]\page.tsx
but instead opens \app(pages)(app)\document\[id]\page.tsx
. I don't seem to have this issue with other plugins such as telescope, where I can use the file finder and it will give me a preview of the content (I will provide an image below). My guess is when it tries to put a backslash before a parenthesis, it registers it as just a parenthesis (kind of how in regex you have to put a backslash before some characters).
Incorrect Path
Telescope Displaying Content Correctly
Neovim version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Operating system and version
Windows 11
Windows variant
No response
nvim-tree version
v1.5.0 (latest)
Clean room replication
I am a bit confused about this step, but you can find my neovim setup here:
https://github.com/LandonHarter/neovim/master
Steps to reproduce
- Create a directory that starts and ends with parenthesis (maybe try nesting a few together like mine in the photo)
- Create a file in one of the new directories
- Try to open the file with nvim-tree
Expected behavior
Opens the file
Actual behavior
Tries to open a nonexistent file leading to me being unable to edit the file