mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Merge #6598
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 https://github.com/dustypomerleau/rust-syntax/issues/7). Co-authored-by: Dusty Pomerleau <dustypomerleau@users.noreply.github.com>
This commit is contained in:
commit
cadf0e9fb6
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@
|
||||||
{
|
{
|
||||||
"comment": "booleans",
|
"comment": "booleans",
|
||||||
"name": "constant.language.bool.rust",
|
"name": "constant.language.bool.rust",
|
||||||
"match": "\\btrue|false\\b"
|
"match": "\\b(true|false)\\b"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue