-- lx-public:0

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

format.register({
	name = "Liqube Fn File",
	shortname = "liqubefn",
	author = "liqube",
	created = "2026-02-16",
	extensions = "fn",
	comment = ";",

	patterns = {
		{ pattern = ";.-\n", type = "comment" },
		{ pattern = "%s+(%-%>)%s*\n", type = "operator" },
		{ pattern = "%s+(%-%>)%s+(.-)%s*\n", type = { "operator", "object" } },
	},
})
