From 0e27391e900a3efddfeebb37babc62e1e5dca595 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Wed, 16 Aug 2023 17:53:03 -0400 Subject: feat(python): update parser & highlights --- queries/python/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'queries/python/highlights.scm') 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 [ -- cgit v1.2.3-70-g09d2