From b8d7853b88e8ce4e6710a57b89d15910614ac1ad Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Sat, 26 Jun 2021 15:25:57 +0600 Subject: highlights(typescript): fix indentifier for type imports --- queries/typescript/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'queries/typescript') diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm index 0f318b66..26725f82 100644 --- a/queries/typescript/highlights.scm +++ b/queries/typescript/highlights.scm @@ -20,6 +20,12 @@ (type_identifier) @type (predefined_type) @type.builtin +(import_statement "type" + (import_clause + (named_imports + ((import_specifier + name: (identifier) @type))))) + ; punctuation (type_arguments -- cgit v1.2.3