mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
feat(python): update parser & highlights
This commit is contained in:
parent
a3b2e0dcdb
commit
0e27391e90
2 changed files with 4 additions and 1 deletions
|
|
@ -417,7 +417,7 @@
|
||||||
"revision": "8953f91d733dd92c1ac43b3d58a7a2f43fa62dae"
|
"revision": "8953f91d733dd92c1ac43b3d58a7a2f43fa62dae"
|
||||||
},
|
},
|
||||||
"python": {
|
"python": {
|
||||||
"revision": "28fa64492e93619427c7f22c3ba39c2505b1ff2d"
|
"revision": "c01fb4e38587e959b9058b8cd34b9e6a3068c827"
|
||||||
},
|
},
|
||||||
"ql": {
|
"ql": {
|
||||||
"revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf"
|
"revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf"
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@
|
||||||
"credits"
|
"credits"
|
||||||
"license"))
|
"license"))
|
||||||
|
|
||||||
|
"_" @constant.builtin ; match wildcard
|
||||||
|
|
||||||
((attribute
|
((attribute
|
||||||
attribute: (identifier) @field)
|
attribute: (identifier) @field)
|
||||||
(#lua-match? @field "^[%l_].*$"))
|
(#lua-match? @field "^[%l_].*$"))
|
||||||
|
|
@ -244,6 +246,7 @@
|
||||||
"print"
|
"print"
|
||||||
"with"
|
"with"
|
||||||
"as"
|
"as"
|
||||||
|
"type"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue