Skip to content

Deprecated supports_method and jump_to_location #3469

Open
@onosendi

Description

@onosendi

Description

  • WARNING client.supports_method is deprecated. Feature will be removed in Nvim 0.13
    • ADVICE:
      • use client:supports_method instead.
      • stack traceback:
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:364
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:400
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/builtin/init.lua:543
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:188
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/command.lua:259
        /Users/work/.local/share/nvim/lazy/telescope.nvim/plugin/telescope.lua:108

~

  • WARNING vim.lsp.util.jump_to_location is deprecated. Feature will be removed in Nvim 0.12
    • ADVICE:
      • stack traceback:
        /Users/work/.local/share/nvim/lazy/telescope.nvim/lua/telescope/builtin/__lsp.lua:187
        /opt/homebrew/Cellar/neovim/0.11.0/share/nvim/runtime/lua/vim/lsp/client.lua:679
        vim/_editor.lua:0

Neovim version

NVIM v0.11.0
Build type: Release
LuaJIT 2.1.1744318430

Operating system and version

macOS 15.4.1

Telescope version / branch / rev

telescope 0.1.8

checkhealth telescope

==============================================================================
telescope:                                 require("telescope.health").check()

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 14.1.1
- OK fd: found fd 10.2.0

===== Installed extensions ===== ~

Telescope Extension: `session-lens` ~
- No healthcheck provided

Steps to reproduce

:Telescope lsp_definitions

Expected behavior

No response

Actual behavior

vim.lsp.util.jump_to_location is deprecated. Run ":checkhealth vim.deprecated" for more information

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",
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions