mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Re-add alternative : operator for pairs
This commit is contained in:
parent
4284b06f10
commit
ef5e1a577f
7 changed files with 36 additions and 22 deletions
|
|
@ -64,6 +64,15 @@ lua_functions = {
|
|||
}
|
||||
end
|
||||
},
|
||||
["_:_(a, b)"] = {
|
||||
mode = "raw",
|
||||
value = function(a, b)
|
||||
return {
|
||||
type = "pair",
|
||||
value = { a, b }
|
||||
}
|
||||
end
|
||||
},
|
||||
-- annotate
|
||||
["_::_(a, b)"] = {
|
||||
mode = "raw",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue