We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6160a1a commit b1faa06Copy full SHA for b1faa06
lua/rustaceanvim/compat.lua
@@ -21,7 +21,7 @@ end
21
---@param offset_encoding 'utf-8'|'utf-16'|'utf-32'?
22
---@return boolean `true` if the jump succeeded
23
function compat.show_document(location, offset_encoding)
24
- local show_document = vim.lsp.show_document
+ local show_document = vim.lsp.util.show_document
25
if not show_document then
26
return vim.lsp.util.jump_to_location(location, offset_encoding or 'utf-8')
27
end
0 commit comments