feat(highlights): capture wildcard patterns as @character.special (#7153)

This commit is contained in:
Omar Valdez 2024-09-19 23:15:01 -07:00 committed by GitHub
parent 2b2ac30232
commit 188b1a6d01
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 45 additions and 21 deletions

View file

@ -21,7 +21,7 @@
; https://docs.python.org/3/library/constants.html
"NotImplemented" "Ellipsis" "quit" "exit" "copyright" "credits" "license"))
"_" @constant.builtin ; match wildcard
"_" @character.special ; match wildcard
((attribute
attribute: (identifier) @variable.member)