Skip to content

Commit

Permalink
Ace syntax highlight "letrec"
Browse files Browse the repository at this point in the history
  • Loading branch information
ravichugh committed Mar 26, 2018
1 parent b2b2fa9 commit a83bd70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ace-builds/src/mode-elm.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ var oop = require("../lib/oop");
var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;

var ElmHighlightRules = function() {
// added for our Elm-like syntax:
// letrec
var keywordMapper = this.createKeywordMapper({
"keyword": "as|case|class|data|default|deriving|do|else|export|foreign|" +
"hiding|jsevent|if|import|in|infix|infixl|infixr|instance|let|" +
"hiding|jsevent|if|import|in|infix|infixl|infixr|instance|let|letrec|" +
"module|newtype|of|open|then|type|where|_|port|\u03BB"
}, "identifier");

Expand Down

0 comments on commit a83bd70

Please sign in to comment.