-
-
Notifications
You must be signed in to change notification settings - Fork 916
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
On a default lazyvim install, opening a nextjs project with a bunch of route groups that structure files inside dirs within brackets - Round brackets - in the form of ./src/app/(myroutegroup)/layout.tsx fails with error
ENOENT: no such file or directory: [...]\src\app(app)
Opening the same file on linux works just fine, must be a different way it handles paths and escaping.
Neovim version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
Operating system and version
Windows 11 23H2
Telescope version / branch / rev
checkhealth telescope
==============================================================================
telescope: require("telescope.health").check()
Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.
Checking external dependencies ~
- OK rg: found ripgrep 14.1.1 (rev 4649aa9700)
- OK fd: found fd 10.2.0
===== Installed extensions ===== ~
Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured
Steps to reproduce
just try opening a file in a path like dir/(dir)/file.txt
Expected behavior
The file should open
Actual behavior
Error: file not found probably because the path is not properly escaped
Minimal config
- not needed -
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working