-- @module plugins.window_test2

-- This file is part of Lx, created by Liqube <www.liqube.com>
-- Copyright Liqube Audio. All rights reserved.
-- Lx Interim License. See LICENSE for details.

--- Register the wide VirtualTree test without loading its test UI

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,
})
