Skip to content

Commit

Permalink
Remove non-existent standard methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Someon1e committed Jun 9, 2024
1 parent c49f049 commit b05f7e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/languages/luau.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export default function (hljs) {
// New in Luau (metatags -> globals)
'__idiv __iter newproxy rawlen ' +
// Standard methods and properties:
'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring ' +
'collectgarbage error getfenv getmetatable ipairs loadstring ' +
'module next pairs pcall print rawequal rawget rawset require select setfenv ' +
'setmetatable tonumber tostring type unpack xpcall arg self ' +
'setmetatable tonumber tostring type unpack xpcall self ' +
// Library methods and properties (one line per library):
'coroutine resume yield status wrap create running debug getupvalue ' +
'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv ' +
Expand Down

0 comments on commit b05f7e3

Please sign in to comment.