feat: highlight rust repetition pattern (#12871)

Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
This commit is contained in:
Nik Revenco 2025-02-17 18:54:49 +00:00 committed by GitHub
parent 0445062d27
commit ef375d690e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -421,6 +421,9 @@
(#eq? @special "derive") (#eq? @special "derive")
) )
(token_repetition_pattern [")" "(" "$"] @punctuation.special)
(token_repetition_pattern "?" @operator)
; --- ; ---
; Prelude ; Prelude
; --- ; ---