mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
|
|
@ -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
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue