about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-05-24 14:20:22 +0000
committerGitHub <noreply@github.com>2020-05-24 14:20:22 +0000
commitd959c913eaeae36b9e04c7b5ee8b341f6c5b678b (patch)
tree0bee9dbb6794748dc3aebce59292cbf466010af2 /editors/code
parent7e862626cc892662c3c95ba393483ac89c07e31a (diff)
parent1895888aec1c87096809057b19a602e1cec9ada6 (diff)
downloadrust-d959c913eaeae36b9e04c7b5ee8b341f6c5b678b.tar.gz
rust-d959c913eaeae36b9e04c7b5ee8b341f6c5b678b.zip
Merge #4556
4556: More highlighting improvements r=matthewjasper a=matthewjasper

* Separate `true` and `false` from keywords (this matches the Textmate grammar).
* Handle more cases in `highlight_name_by_syntax`.

Co-authored-by: Matthew Jasper <mjjasper1@gmail.com>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 578ee8b0eaf..21039ced885 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -644,6 +644,9 @@
                     "function.attribute": [
                         "entity.name.function.attribute.rust"
                     ],
+                    "boolean": [
+                        "constant.language.boolean.rust"
+                    ],
                     "builtinType": [
                         "support.type.primitive.rust"
                     ],