diff options
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | queries/python/highlights.scm | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json index 2061b8790..008c934a0 100644 --- a/lockfile.json +++ b/lockfile.json @@ -417,7 +417,7 @@ "revision": "8953f91d733dd92c1ac43b3d58a7a2f43fa62dae" }, "python": { - "revision": "28fa64492e93619427c7f22c3ba39c2505b1ff2d" + "revision": "c01fb4e38587e959b9058b8cd34b9e6a3068c827" }, "ql": { "revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf" 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 [ |
