fix boolean highlighting
This commit is contained in:
parent
97c24a7769
commit
4b5c5f324f
2 changed files with 5 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue