-- lx-public:0

-- lx format
local format = require("core.format")

-- internal tests file syntax for lite, used for path unification <liqube>
format.register({
	name = "Liqube Tests File",
	shortname = "liqubetests",
	extensions = "tests",
	patterns = {
		{ pattern = { "/%*", "%*/" }, type = "comment" },
		{ pattern = "# valid.-\n", type = "success", line_start = true },
		{ pattern = "# invalid.-\n", type = "error", line_start = true },
		{ pattern = "(; type: )(uri)%s*\n", type = { "symbol", "label" }, line_start = true },
		{ pattern = "(; type: )(relative)%s*\n", type = { "symbol", "keyword" }, line_start = true },
		{ pattern = "#.-\n", type = "comment" },
		{ pattern = ";.-\n", type = "symbol" },
		{ pattern = ".-\n", type = "number" },
	},
	outline_patterns = {
		--    { pattern = "########",	          	next_line = "#%s+%w+" },
	},
	symbols = {},
})
