mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
highlights(typescript): fix indentifier for type imports
This commit is contained in:
parent
dbbedfec88
commit
b8d7853b88
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,12 @@
|
||||||
(type_identifier) @type
|
(type_identifier) @type
|
||||||
(predefined_type) @type.builtin
|
(predefined_type) @type.builtin
|
||||||
|
|
||||||
|
(import_statement "type"
|
||||||
|
(import_clause
|
||||||
|
(named_imports
|
||||||
|
((import_specifier
|
||||||
|
name: (identifier) @type)))))
|
||||||
|
|
||||||
; punctuation
|
; punctuation
|
||||||
|
|
||||||
(type_arguments
|
(type_arguments
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue