From 4410af455ecfe99c297015ad650c458a765e784f Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Sat, 21 Nov 2020 18:44:38 +1100 Subject: ensure word boundary after `true` --- editors/code/rust.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editors') diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index cd4775d27..4759bb116 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" } ] }, -- cgit v1.2.3