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
I have seem related issues already closed (#3346), but i still get the error:
Error executing vim.schedule lua callback: ...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:129: attempt to call f
ield 'str_byteindex' (a nil value)
stack traceback:
...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:129: in function 'item_to_location'
...nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:265: in function 'handler'
/usr/local/share/nvim/runtime/lua/vim/lsp.lua:936: in function 'handler'
/usr/local/share/nvim/runtime/lua/vim/lsp/client.lua:687: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
At first, i thought it was about my nvim version, but i just upgraded from 0.10.2 to 0.10.3 without success. Then I reinstalled telescope (i'm using Lazy) and checked that the version are okey. Everything right. Heck, i even looked into the local source file (https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/utils.lua) to check if the function exists, and it does.
So then i checked if the import is correct:
Description
I have seem related issues already closed (#3346), but i still get the error:
At first, i thought it was about my nvim version, but i just upgraded from 0.10.2 to 0.10.3 without success. Then I reinstalled telescope (i'm using Lazy) and checked that the version are okey. Everything right. Heck, i even looked into the local source file (
https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/utils.lua
) to check if the function exists, and it does.So then i checked if the import is correct:
prints
false
, andprints
function: 0x7f...
but!
prints
nil
I asked chaty (yeah, chatgpt) and got the following experiment:
now it prints
function: 0x7f...
But still, my mapping (gd -> Telescope lsp_definitions) don't work.
Btw.
:lua vim.lsp.buf.definition()
worksNeovim version
Operating system and version
debian
Telescope version / branch / rev
master (2eca9ba)
checkhealth telescope
Steps to reproduce
described above
Expected behavior
No response
Actual behavior
described above
Minimal config
The text was updated successfully, but these errors were encountered: