fix boolean highlighting

This commit is contained in:
Fabian Jakobs 2010-12-16 11:45:21 +01:00
commit 4b5c5f324f
2 changed files with 5 additions and 1 deletions

View file

@ -98,7 +98,7 @@ JavaScriptHighlightRules = function() {
token : "constant.numeric", // float
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
}, {
token : "constant.boolean", // float
token : "constant.language.boolean",
regex : "(?:true|false)\\b"
}, {
token : function(value) {

View file

@ -52,6 +52,10 @@
color: rgb(88, 72, 246);
}
.ace-tm .ace_line .ace_constant.ace_language {
color: rgb(88, 92, 246);
}
.ace-tm .ace_line .ace_constant.ace_library {
color: rgb(6, 150, 14);
}