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) {