mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Highlights(python): Add @keyword.function
Use `@keyword.function` for `def` and `lambda`
This commit is contained in:
parent
3413581b58
commit
017760113a
1 changed files with 5 additions and 2 deletions
|
|
@ -195,17 +195,20 @@
|
|||
"del"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
"def"
|
||||
"lambda"
|
||||
] @keyword.function
|
||||
|
||||
[
|
||||
"assert"
|
||||
"async"
|
||||
"await"
|
||||
"class"
|
||||
"def"
|
||||
"except"
|
||||
"exec"
|
||||
"finally"
|
||||
"global"
|
||||
"lambda"
|
||||
"nonlocal"
|
||||
"pass"
|
||||
"print"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue