update scheme mode to work with new tokenizer

This commit is contained in:
nightwing 2013-02-06 19:36:12 +04:00
commit 28898c43a0
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
"start", "start",
["text","("], ["text","("],
["storage.type.function-type.scheme","define"], ["storage.type.function-type.scheme","define"],
["text"," "],
["text","("], ["text","("],
["identifier","prompt-for-cd"], ["identifier","prompt-for-cd"],
["text",")"] ["text",")"]

View file

@ -67,7 +67,7 @@ var SchemeHighlightRules = function() {
"regex": "(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)" "regex": "(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"
}, },
{ {
"token": ["punctuation.definition.constant.character.scheme", "constant.character.scheme"], "token": "punctuation.definition.constant.character.scheme",
"regex": "#:\\S+" "regex": "#:\\S+"
}, },
{ {