Skip to content

Commit

Permalink
highlight closure pipes as brackets (#3397)
Browse files Browse the repository at this point in the history
Co-authored-by: Vince Mutolo <[email protected]>
  • Loading branch information
vlmutolo and Vince Mutolo authored Aug 12, 2022
1 parent 80dde57 commit 7559b77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtime/queries/rust/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
"<"
">"
] @punctuation.bracket)
(closure_parameters
"|" @punctuation.bracket)

; ---
; Variables
Expand Down

0 comments on commit 7559b77

Please sign in to comment.