fix: return the latest instance instead of the first instance
This commit is contained in:
@ -34,7 +34,7 @@ end
|
||||
---@return TransHover
|
||||
function M.get_active_instance()
|
||||
M.clear_dead_instance()
|
||||
return M.queue[1]
|
||||
return M.queue[#M.queue]
|
||||
end
|
||||
|
||||
---Clear dead instance
|
||||
|
Reference in New Issue
Block a user