From e2bd27a5591fbed6c2921a7d64775e48eaaf46af Mon Sep 17 00:00:00 2001 From: Lennart Kats Date: Mon, 15 Oct 2012 16:02:02 +0200 Subject: [PATCH] Fix break keyword highlighting --- lib/ace/mode/javascript_highlight_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/mode/javascript_highlight_rules.js b/lib/ace/mode/javascript_highlight_rules.js index 9481cb20..bd6f020c 100644 --- a/lib/ace/mode/javascript_highlight_rules.js +++ b/lib/ace/mode/javascript_highlight_rules.js @@ -52,7 +52,7 @@ var JavaScriptHighlightRules = function() { "invalid.deprecated": "__parent__|__count__|escape|unescape|with|__proto__", "keyword": - "const|yield|import|get|set" + + "const|yield|import|get|set|" + "break|case|catch|continue|default|delete|do|else|finally|for|function|" + "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger", "storage.type":