mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 02:40:09 -04:00
feat(highlights): capture wildcard imports as @character.special
This commit is contained in:
parent
c67881c265
commit
d13f0183ba
7 changed files with 32 additions and 6 deletions
|
|
@ -73,6 +73,8 @@
|
|||
(import_header
|
||||
"import" @keyword.import)
|
||||
|
||||
(wildcard_import) @character.special
|
||||
|
||||
; The last `simple_identifier` in a `import_header` will always either be a function
|
||||
; or a type. Classes can appear anywhere in the import path, unlike functions
|
||||
(import_header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue