From 4410af455ecfe99c297015ad650c458a765e784f Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Sat, 21 Nov 2020 18:44:38 +1100 Subject: [PATCH] ensure word boundary after `true` --- editors/code/rust.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index cd4775d2737..4759bb11623 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json @@ -409,7 +409,7 @@ { "comment": "booleans", "name": "constant.language.bool.rust", - "match": "\\btrue|false\\b" + "match": "\\b(true|false)\\b" } ] },