aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index e0c1491a5..04398668e 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -27,6 +27,8 @@
"credits"
"license"))
+"_" @constant.builtin ; match wildcard
+
((attribute
attribute: (identifier) @field)
(#lua-match? @field "^[%l_].*$"))
@@ -244,6 +246,7 @@
"print"
"with"
"as"
+ "type"
] @keyword
[