mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
Revert "lsp: fix regression in jump_to_location() (#14446)"
This reverts commit 993ca90c9b
.
This commit is contained in:
@@ -944,9 +944,6 @@ function M.jump_to_location(location)
|
||||
local from = {from_bufnr, vim.fn.line('.'), vim.fn.col('.'), 0}
|
||||
local item = {tagname=vim.fn.expand('<cword>'), from=from}
|
||||
|
||||
-- Save position in jumplist
|
||||
vim.cmd("mark '")
|
||||
|
||||
--- Jump to new location (adjusting for UTF-16 encoding of characters)
|
||||
local bufnr = vim.uri_to_bufnr(uri)
|
||||
api.nvim_set_current_buf(bufnr)
|
||||
|
Reference in New Issue
Block a user