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
|
token : "constant.numeric", // float
|
||||||
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
|
||||||
}, {
|
}, {
|
||||||
token : "constant.boolean", // float
|
token : "constant.language.boolean",
|
||||||
regex : "(?:true|false)\\b"
|
regex : "(?:true|false)\\b"
|
||||||
}, {
|
}, {
|
||||||
token : function(value) {
|
token : function(value) {
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,10 @@
|
||||||
color: rgb(88, 72, 246);
|
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 {
|
.ace-tm .ace_line .ace_constant.ace_library {
|
||||||
color: rgb(6, 150, 14);
|
color: rgb(6, 150, 14);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue