Skip to content

Commit

Permalink
chore(fixup): compatibility with nvim release (#576)
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
Co-authored-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
  • Loading branch information
AppleSheeple and MoSal authored Nov 12, 2024
1 parent 24da817 commit 5c4a25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/rustaceanvim/compat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
function compat.show_document(location, offset_encoding)
local show_document = vim.lsp.show_document
if not show_document then
vim.lsp.util.jump_to_location(location, offset_encoding)
return vim.lsp.util.jump_to_location(location, offset_encoding)
end
return show_document(location, offset_encoding, { focus = true })
end
Expand Down

0 comments on commit 5c4a25d

Please sign in to comment.