E5108: Error executing lua: ...p-args.nvim/lua/telescope/_extensions/live_grep_args.lua:56: attempt to call a nil value
stephane-klein opened this issue · 4 comments
stephane-klein commented
Hello,
Since few days, I have this error:
E5108: Error executing lua: ...p-args.nvim/lua/telescope/_extensions/live_grep_args.lua:56: attempt to call a nil value
stack traceback:
...p-args.nvim/lua/telescope/_extensions/live_grep_args.lua:56: in function 'picker'
/Users/stephaneklein/.config/nvim/lua/_telescope.lua:158: in function </Users/stephaneklein/.config/nvim/lua/_telescope.lua:158>
Here is the error line in my configuration: https://github.com/stephane-klein/dotfiles/blob/079e4e70307fa7aa24c2af9e602d04439d05c3f2/dot_config/nvim/lua/_telescope.lua#L158
Do you have any idea where the problem might be coming from?
Best regards,
Stéphane
stephane-klein commented
If I replace:
vim.keymap.set(
'n', '<leader>/',
use_layout(telescope.extensions.live_grep_args.live_grep_args, 'popup_list'),
{ noremap = true, desc = "Live ripgrep"}
)
by:
vim.keymap.set(
'n', '<leader>/',
telescope.extensions.live_grep_args.live_grep_args,
{ noremap = true, desc = "Live ripgrep"}
)
The bug is fixed.
weeman1337 commented
Hi @stephane-klein thanks for reporting the issue. It has been introduced by #10 .
Changing the config doesn't fix bugs or issues :)
I will commit an update shortly.
weeman1337 commented
@stephane-klein can you give #37 a try?
You can set the improve-theme-support
branch in your packer config.
stephane-klein commented
@weeman1337 thinks, it works 👍
My config is fixed by stephane-klein/dotfiles@ef7eadc