feat(python): update parser & highlights

This commit is contained in:
Amaan Qureshi 2023-08-16 17:53:03 -04:00
parent a3b2e0dcdb
commit 0e27391e90
2 changed files with 4 additions and 1 deletions

View file

@ -417,7 +417,7 @@
"revision": "8953f91d733dd92c1ac43b3d58a7a2f43fa62dae"
},
"python": {
"revision": "28fa64492e93619427c7f22c3ba39c2505b1ff2d"
"revision": "c01fb4e38587e959b9058b8cd34b9e6a3068c827"
},
"ql": {
"revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf"

View file

@ -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
[