kickstart.nvim
kickstart.nvim copied to clipboard
<leader>/ fuzzy finding - error attempting to call method '_get_hl_from_capture'
Describe the bug
<leader>/ fuzzy finding current buffer leads to an error. The error starts from current_buffer_fuzzy_find and seems to originate from _get_hl_from_capture.
Error Message
E5108: Error executing lua: ...r/start/telescope.nvim/lua/telescope/builtin/__files.lua:413: attempt to call method '_get_hl_from_capture' (a nil value)
stack traceback:
...r/start/telescope.nvim/lua/telescope/builtin/__files.lua:413: in function 'v'
...r/start/telescope.nvim/lua/telescope/builtin/__files.lua:529: in function 'v'
...cker/start/telescope.nvim/lua/telescope/builtin/init.lua:514: in function 'current_buffer_fuzzy_find'
[string ":source (no file)"]:208: in function <[string ":source (no file)"]:206>
To Reproduce Steps to reproduce the behavior:
- Install Neovim and set up kickstart's init.lua.
- Open up any existing file and enter
<leader>/to fuzzy find. Expected: Telescope shows fuzzy finder. Actual: An error occurs.
Desktop (please complete the following information):
- OS: Windows 10
- Terminal: tmux, bash 5.0.17, WSL on Ubuntu 20.04.5 LTS
** Neovim Version **
NVIM v0.9.0-dev-537+g5d5fa886f
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstric
t-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -f
no-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/uname/neovim/build/cmake.co
nfig -I/home/uname/neovim/src -I/home/uname/neovim/.deps/usr/include -I/usr/include -I/home/uname/neovim/build/src/nvim/auto -I/home/uname/neovim/build/include
same with me!
Well, restarting nvim fixed the issue for me.
I'm getting the same error on nvim 0.9.0, on popos.
NVIM v0.9.0-dev-701+g34b973b1d
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-10 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-
noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fno-common -fdiagnostics-color=always -fstack-protector-strong -DNVIM_UNIBI_HAS_VAR_FROM -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_T
S_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/.deps/usr/include/luajit-2.1 -I/usr/include -I/home/runner/wor
k/neovim/neovim/.deps/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include -I/home/runner/work/neovim/neovim/build/cmake.config -I/home/runner/work/ne
ovim/neovim/src
Compiled by runner@fv-az435-523
Features: +acl +iconv +tui
Should be fixed because telescope cut a new release.