Unnamed repository; edit this file 'description' to name the repository.
highlight closure pipes as brackets (#3397)
Co-authored-by: Vince Mutolo <[email protected]>
Vince Mutolo 2022-08-12
parent 80dde57 · commit 7559b77
-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