highlighting for python string annotations

This commit is contained in:
2023-04-24 09:28:57 -05:00
parent 849fc17535
commit 407b94c12b
3 changed files with 47 additions and 21 deletions
+11
View File
@@ -0,0 +1,11 @@
(type (string (string_content) @python))
((assignment
(type (identifier) @_type)
(string (string_content) @python))
(#eq? @_type "TypeAlias"))
((assignment
(type (string (string_content) @_type))
(string (string_content) @python))
(#eq? @_type "TypeAlias"))