mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
fix(lsp): Jump to tag locations reliably when :ltag is used (#22750)
This commit is contained in:
@@ -9,7 +9,7 @@ local function mk_tag_item(name, range, uri, offset_encoding)
|
||||
return {
|
||||
name = name,
|
||||
filename = vim.uri_to_fname(uri),
|
||||
cmd = string.format('call cursor(%d, %d)|', range.start.line + 1, byte),
|
||||
cmd = string.format([[/\%%%dl\%%%dc/]], range.start.line + 1, byte),
|
||||
}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user