The only Lua keywords as defined in the language grammar are: and, break, do, else, elseif, end, false, for, function, goto, if, in, local, nil, not, or, repeat, return, then, true, until, while.
So yes, “in” should definitely be highlighted in pink. As for “all”, it could be highlighted in green just like “print”.
P#43024 2017-08-03 05:27 ( Edited 2017-08-03 09:27)
I have to say I agree with highlighting builtin functions. It helps you avoid overriding them by accident, since some of them are common words (e.g. color).
I do with some of the missing ones (like add() and del() for instance) were also colored.
P#43034 2017-08-03 18:14 ( Edited 2017-08-03 22:14)
[Please log in to post a comment]