From 3e5c484ec545d2614d52615dc8428bdb76fc054a Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 19 May 2021 15:31:41 +0200 Subject: Revert "lsp: fix regression in jump_to_location() (#14446)" This reverts commit 993ca90c9b53033216d4973e2f995b995ed5740e. --- runtime/lua/vim/lsp/util.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'runtime') diff --git a/runtime/lua/vim/lsp/util.lua b/runtime/lua/vim/lsp/util.lua index 57919e907c..bf663b9bd2 100644 --- a/runtime/lua/vim/lsp/util.lua +++ b/runtime/lua/vim/lsp/util.lua @@ -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(''), 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) -- cgit