aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorVince Mutolo2022-08-12 00:00:03 +0000
committerGitHub2022-08-12 00:00:03 +0000
commit7559b77d531ce12a890288ee04a45b5d3bc0c88a (patch)
treea94b21716f4538beda290adca53f923d6b0cc569 /runtime
parent80dde577b0287410cc5a7af79e6737425f95abff (diff)
highlight closure pipes as brackets (#3397)
Co-authored-by: Vince Mutolo <vince@mutolo.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/rust/highlights.scm2
1 files changed, 2 insertions, 0 deletions
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