Lua uses self, not this

There is no 'this' in lua. There is however 'self' a predefined parameter when using colon syntax for calling a function.

http://www.lua.org/pil/16.html
This commit is contained in:
Derk-Jan Hartman 2014-01-16 14:10:12 +01:00 committed by Derk-Jan Hartman
commit ab1b62fbb7

View file

@ -83,7 +83,7 @@ var LuaHighlightRules = function() {
"constant.library": stdLibaries,
"constant.language": builtinConstants,
"invalid.illegal": futureReserved,
"variable.language": "this"
"variable.language": "self"
}, "identifier");
var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";