From ba4f1f13c1230b4b6ea32e36feeb5378ae540fe5 Mon Sep 17 00:00:00 2001 From: Robert Machmer Date: Tue, 17 May 2016 13:25:29 +0200 Subject: [PATCH] Add goto to the list of control keywords The goto statement was added in Lua 5.2.0-beta-rc1. Closes #21. --- grammars/lua.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/lua.cson b/grammars/lua.cson index 7765ce8..2c9209a 100644 --- a/grammars/lua.cson +++ b/grammars/lua.cson @@ -133,7 +133,7 @@ ] } { - 'match': '\\b(and|or|not|break|do|else|for|if|elseif|return|then|repeat|while|until|end|function|local|in)\\b' + 'match': '\\b(and|or|not|break|do|else|for|if|elseif|return|then|repeat|while|until|end|function|local|in|goto)\\b' 'name': 'keyword.control.lua' } {