feat(highlights): capture wildcard imports as @character.special

This commit is contained in:
Omar Valdez 2024-08-01 01:24:40 -07:00 committed by GitHub
parent c67881c265
commit d13f0183ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 32 additions and 6 deletions

View file

@ -132,11 +132,6 @@
(new_expression
constructor: (identifier) @constructor)
; Variables
;----------
(namespace_import
(identifier) @module)
; Decorators
;----------
(decorator
@ -302,6 +297,19 @@
"}"
] @punctuation.special) @none
; Imports
;----------
(namespace_import
"*" @character.special
(identifier) @module)
(namespace_export
"*" @character.special
(identifier) @module)
(export_statement
"*" @character.special)
; Keywords
;----------
[