dofile(HL_LANG_DIR.."lua.lang")
Description="MoonScript"
-- append keywords to Lua list
table.insert(Keywords,
{ Id=1,
List={"class", "export", "import", "from", "extends", "module", "require"}
}
)
table.insert(Keywords,
{ Id=3,
Regex=[[@\w+]],
}
)
table.insert(Keywords,
{ Id=4,
Regex=[[\w+\:]],
}
)
table.insert(Keywords,
{ Id=4,
Regex=[[(\w+)?(\\\w+)]],
}
)