Compare commits

..

No commits in common. "325bf716def83748708145741cc131cdc018f002" and "3f6f2d971b47424df56502629b6353953fff4fea" have entirely different histories.

View File

@ -162,9 +162,7 @@ local function guid_object()
for _, guid_pattern in ipairs(GuidPatterns) do
local match_pos = find_pattern_at_pos(guid_pattern, get_cursor_pos(), false)
if match_pos then
local cursor_pos = get_cursor_pos()
vim.fn.cursor(cursor_pos.row, match_pos.col)
vim.cmd(string.format(':normal! v%dl', #match_pos.text - 1))
vim.cmd(string.format(':normal! 0%dlv%dl', match_pos.col - 1, #match_pos.text - 1))
return
end
end