From 7559b77d531ce12a890288ee04a45b5d3bc0c88a Mon Sep 17 00:00:00 2001 From: Vince Mutolo Date: Thu, 11 Aug 2022 20:00:03 -0400 Subject: highlight closure pipes as brackets (#3397) Co-authored-by: Vince Mutolo --- runtime/queries/rust/highlights.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 5897991e..5de92a60 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -78,6 +78,8 @@ "<" ">" ] @punctuation.bracket) +(closure_parameters + "|" @punctuation.bracket) ; --- ; Variables -- cgit v1.2.3-70-g09d2