diff options
| author | Munif Tanjim <hello@muniftanjim.dev> | 2021-06-26 15:25:57 +0600 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-07-01 22:50:06 +0200 |
| commit | b8d7853b88e8ce4e6710a57b89d15910614ac1ad (patch) | |
| tree | aa6161c1c92f3de08aa726d1575f94c727bc1ead | |
| parent | dbbedfec88866213ae9d6e3502337ab1b0bcafe9 (diff) | |
highlights(typescript): fix indentifier for type imports
| -rw-r--r-- | queries/typescript/highlights.scm | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
