From 2ad5f9a3a06da0ea9e43e8fa66d4dbe1d7282885 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Wed, 26 Oct 2011 10:30:11 +0300 Subject: [PATCH] highlight "no" keyword in coffeescript. fixes #481 --- lib/ace/mode/coffee_highlight_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/mode/coffee_highlight_rules.js b/lib/ace/mode/coffee_highlight_rules.js index a0aa173e..a249479e 100644 --- a/lib/ace/mode/coffee_highlight_rules.js +++ b/lib/ace/mode/coffee_highlight_rules.js @@ -54,7 +54,7 @@ define(function(require, exports, module) { var keywords = lang.arrayToMap(( "this|throw|then|try|typeof|super|switch|return|break|by)|continue|" + "catch|class|in|instanceof|is|isnt|if|else|extends|for|forown|" + - "finally|function|while|when|new|not|delete|debugger|do|loop|of|off|" + + "finally|function|while|when|new|no|not|delete|debugger|do|loop|of|off|" + "or|on|unless|until|and|yes").split("|") );