Skip to content

Commit 5c4a25d

Browse files
AppleSheepleMoSal
andauthored
chore(fixup): compatibility with nvim release (#576)
Signed-off-by: Mohammad AlSaleh <[email protected]> Co-authored-by: Mohammad AlSaleh <[email protected]>
1 parent 24da817 commit 5c4a25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rustaceanvim/compat.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ end
2323
function compat.show_document(location, offset_encoding)
2424
local show_document = vim.lsp.show_document
2525
if not show_document then
26-
vim.lsp.util.jump_to_location(location, offset_encoding)
26+
return vim.lsp.util.jump_to_location(location, offset_encoding)
2727
end
2828
return show_document(location, offset_encoding, { focus = true })
2929
end

0 commit comments

Comments
 (0)