-- lx-public:0

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

-- internal tests file syntax for lite, used for path unification <liqube>
syntax.add({
	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 = {},
})
