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
Delete current mark(s)? [y/n]: yE5108: Error executing lua: ...re/nvim/lazy/harpoon/lua/telescope/_extens
ions/marks.lua:12: attempt to index a nil value
stack traceback:
...re/nvim/lazy/harpoon/lua/telescope/_extensions/marks.lua:12: in function 'filter_empty_string'
...re/nvim/lazy/harpoon/lua/telescope/_extensions/marks.lua:22: in function 'generate_new_finder'
...re/nvim/lazy/harpoon/lua/telescope/_extensions/marks.lua:83: in function 'key_func'
...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:253: in function <...hare/nvim/lazy/t
elescope.nvim/lua/telescope/mappings.lua:252>
Press ENTER or type command to continue
I also can no longer open harpoon2 telescope extension with the same error.
localfunctionfilter_empty_string(list)
localnext= {}
foridx=1, #listdoiflist[idx].value~="" then-- list[1] is nil at some point.table.insert(next, list[idx])
endendreturnnextend
The function can be changed to prevent this error:
The config I will refer to. Not the smallest, but I'm too lazy to rewrite which-key mappings.
Actions:
<C-d>
to remove item from harpoon2Result: Success
Actions:
<Up>
to choose another item (IMPORTANT)<C-d>
to remove item from harpoon2<C-d>
to remove item from harpoon2Result: Success
Actions:
<C-d>
to remove item from harpoon2Result:
I also can no longer open harpoon2 telescope extension with the same error.
This is the file in question: https://github.com/ThePrimeagen/harpoon/blob/harpoon2/lua/telescope/_extensions/marks.lua
The function can be changed to prevent this error:
nvim -V1 -v output:
:checkhealth
is OKThe text was updated successfully, but these errors were encountered: