Skip to content

Commit

Permalink
Merge #6598
Browse files Browse the repository at this point in the history
6598: Textmate grammar: ensure word boundary after `true` r=dustypomerleau a=dustypomerleau

Adding round brackets ensures word boundaries on both sides of booleans (reported in dustypomerleau/rust-syntax#7).

Co-authored-by: Dusty Pomerleau <[email protected]>
  • Loading branch information
bors[bot] and dustypomerleau authored Nov 21, 2020
2 parents 48bb4bf + 4410af4 commit cadf0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editors/code/rust.tmGrammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@
{
"comment": "booleans",
"name": "constant.language.bool.rust",
"match": "\\btrue|false\\b"
"match": "\\b(true|false)\\b"
}
]
},
Expand Down

0 comments on commit cadf0e9

Please sign in to comment.