aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/util.lua
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2024-10-26 14:06:15 -0700
committerLewis Russell <me@lewisr.dev>2024-10-27 09:26:52 +0000
commit123c0b6b4e2d3f0665774b70b6bec79afbef4509 (patch)
treeb4532cef99255765ed58ebbabcd9cce123471258 /runtime/lua/vim/lsp/util.lua
parentf60a1f90599df0b773a107232f4005d6dea194b0 (diff)
downloadrneovim-123c0b6b4e2d3f0665774b70b6bec79afbef4509.tar.gz
rneovim-123c0b6b4e2d3f0665774b70b6bec79afbef4509.tar.bz2
rneovim-123c0b6b4e2d3f0665774b70b6bec79afbef4509.zip
docs(lsp): document alternative for vim.lsp.util.jump_to_location
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
-rw-r--r--runtime/lua/vim/lsp/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua
index 9646f4d571..41f93e5374 100644
--- a/runtime/lua/vim/lsp/util.lua
+++ b/runtime/lua/vim/lsp/util.lua
@@ -957,7 +957,7 @@ end
--- Jumps to a location.
---
----@deprecated
+---@deprecated use `vim.lsp.util.show_document` with `{focus=true}` instead
---@param location lsp.Location|lsp.LocationLink
---@param offset_encoding 'utf-8'|'utf-16'|'utf-32'?
---@param reuse_win boolean? Jump to existing window if buffer is already open.