From 34e6d790a0c3edbb2f6767f579d06da289c678fa Mon Sep 17 00:00:00 2001 From: Vince Mutolo Date: Thu, 11 Aug 2022 18:36:40 -0400 Subject: [PATCH] highlight closure pipes as brackets --- 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 5897991ee52b..5de92a607767 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -78,6 +78,8 @@ "<" ">" ] @punctuation.bracket) +(closure_parameters + "|" @punctuation.bracket) ; --- ; Variables