You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closing this as a duplicate of #1223 and #1291 being tracked over at #1171
Just to check, :e pages/api/auth/\[...nextauth].ts already solves the problem? If that already solves it, my first hunch is the below would have to be extended to properly escape these filenames adequately. I'm quite busy atm, happy to guide a PR.
Description
If you have a file with brackets in the name, for example
pages/api/user/[id].ts
, it fails to open via telescope'sfind_files
orfile_browser
.Opened with telescope, I see this
opened via
:e
using tab completion where it auto escapes the first bracket, I see this:Neovim version
NVIM v0.6.0-dev+324-ge8fb0728e
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/iain/src/neovim/build/config -I/home/iain/src/neovim/src -I/home/iain/src/neovim/.deps/usr/include -I/usr/include -I/home/iain/src/neovim/build/src/nvim/auto -I/home/iain/src/neovim/build/include
Compiled by iain@orion
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/home/iain/.local/share/nvim"
Operating system and version
Arch linux
Linux orion 5.14.7-arch1-1 #1 SMP PREEMPT Wed, 22 Sep 2021 21:35:11 +0000 x86_64 GNU/Linux
checkhealth telescope
Steps to reproduce
cd /tmp && echo 'test' > '[test].txt'
:Telescope find_files
or:Telescope file_browser
test
and select the file from step 1Expected behavior
Should open the correct file
Actual behavior
Opens a blank buffer (I'm guessing a new file?)
Minimal config
The text was updated successfully, but these errors were encountered: