We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24da817 commit 5c4a25dCopy full SHA for 5c4a25d
lua/rustaceanvim/compat.lua
@@ -23,7 +23,7 @@ end
23
function compat.show_document(location, offset_encoding)
24
local show_document = vim.lsp.show_document
25
if not show_document then
26
- vim.lsp.util.jump_to_location(location, offset_encoding)
+ return vim.lsp.util.jump_to_location(location, offset_encoding)
27
end
28
return show_document(location, offset_encoding, { focus = true })
29
0 commit comments