-- This works as the default sql handler for .sql files
-- Inherit your preferred module.

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

syntax.add({
	name = "Structured Query Language",
	shortname = "SQL",
	extensions = {
		"sql",
		"ddl",	-- SQL schema definition script
		"ddm",	-- SQL data manipulation script
	},
	inherit = {
		syntax = "module:sql_mysql",
		keys = { "comment", "patterns", "symbols" },
	},
})
