Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goto not working #3379

Open
Freaksed opened this issue Dec 6, 2024 · 3 comments
Open

Goto not working #3379

Freaksed opened this issue Dec 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Freaksed
Copy link

Freaksed commented Dec 6, 2024

Description

and are not working for me. when i try to use them i just get an error
E5108: Error executing lua: /usr/share/nvim/runtime/lua/vim/lsp/…│
│ stack traceback: │
│ C: in function 'encode' │
│ /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:291: in function '…│
│ /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:338: in function '…│
│ /usr/share/nvim/runtime/lua/vim/lsp/client.lua:679: in functio…│
│ /usr/share/nvim/runtime/lua/vim/lsp.lua:888: in function 'buf_…│
│Cat/usr/share/nvim/runtime/lua/vim/lsp.lua:951: in function 'buf_…│
│ ...nvim/lazy/telescope.nvim/lua/telescope/builtin/_lsp.lua:201…│
│ ...nvim/lazy/telescope.nvim/lua/telescope/builtin/_lsp.lua:529…│
│ .../nvim/lazy/telescope.nvim/lua/telescope/builtin/init.lua:58…│
│hz..../LazyVim/lua/lazyvim/plugins/extras/editor/telescope.lua:29

Neovim version

NVIM v0.11.0-dev-973+gb7e8966715
Build type: Release
LuaJIT 2.1.1727870382

Operating system and version

WSL

Telescope version / branch / rev

0.1.8

checkhealth telescope

telescope:                                 require("telescope.health").check()
    1
    2 Checking for required plugins
    3 - OK plenary installed.
    4 - OK nvim-treesitter installed.
    5
    6 Checking external dependencies
    7 - OK rg: found ripgrep 14.1.1
    8 - OK fd: found fd 10.2.0
    9
   10 ===== Installed extensions =====
   11
   12 Telescope Extension: `fzf`
   13 - OK lib working as expected
   14 - OK file_sorter correctly configured
   15 - OK generic_sorter correctly configured
   16
   17 Telescope Extension: `projects`
   18 - No healthcheck provided

Steps to reproduce

open file and try to find references or definition

Expected behavior

it should take me to references

Actual behavior

error pops up

Minimal config

local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs { "config", "data", "state", "cache" } do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
  vim.fn.system {
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  }
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  {
    "nvim-telescope/telescope.nvim",
    dependencies = {
      "nvim-lua/plenary.nvim",
    },
    config = function()
      -- ADD INIT.LUA SETTINGS THAT ARE _NECESSARY_ FOR REPRODUCING THE ISSUE
      require("telescope").setup {}
    end,
  },
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})
@Freaksed Freaksed added the bug Something isn't working label Dec 6, 2024
@Conni2461
Copy link
Member

You should run master if you use latest neovim nightly we havent ported back the fix for the latest nightly version

@Freaksed
Copy link
Author

Freaksed commented Dec 10, 2024

it appears it is already using master... from the plugin config
url https://github.com/nvim-telescope/telescope.nvim
branch master
commit 2eca9ba
readme README.md
help |telescope.theprimeagen|
help |telescope.nvim|
help |telescope.changelog|
cmd  Telescope

@ApexAutomation
Copy link

Same issue on:
NVIM v0.11.0-dev-894+g385fbfb3e
Build type: RelWithDebInfo
LuaJIT 2.1.1727870382

"telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants