--- Register the wide VirtualTree test without loading its test UI
-- @module plugins.window_test2

local command = require("core.command")

local main

--- Load the wide VirtualTree test on its first use
-- @return table implementation
local function get_main()
	if not main then
		main = require("plugins.window_test2.main")
	end

	return main
end

command.register({
	["win:open2"] = function()
		return get_main().open()
	end,
})
