Fixed keywords and constant parse bug
Fixed: 'minus' shouldn't be a delimiter Fixed: '\t' shouldn't be included in keword-type
This commit is contained in:
parent
67b1b25469
commit
05d65dac6a
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ var SchemeHighlightRules = function() {
|
|||
},
|
||||
{
|
||||
"token": ["punctuation.definition.constant.character.scheme", "constant.character.scheme"],
|
||||
"regex": "#:[^ ]+"
|
||||
"regex": "#:\\S+"
|
||||
},
|
||||
{
|
||||
"token": ["punctuation.definition.variable.scheme", "variable.other.global.scheme", "punctuation.definition.variable.scheme"],
|
||||
|
|
@ -84,7 +84,7 @@ var SchemeHighlightRules = function() {
|
|||
},
|
||||
{
|
||||
"token" : keywordMapper,
|
||||
"regex" : "[a-zA-Z_#][a-zA-Z0-9_\\?\\!\\*]*"
|
||||
"regex" : "[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*"
|
||||
},
|
||||
{
|
||||
"token" : "string",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue