Highlights(python): Add @keyword.function

Use `@keyword.function` for `def` and `lambda`
This commit is contained in:
Sergio Alejandro Vargas 2021-06-17 13:33:53 -05:00 committed by Stephan Seitz
parent 3413581b58
commit 017760113a

View file

@ -195,17 +195,20 @@
"del" "del"
] @keyword.operator ] @keyword.operator
[
"def"
"lambda"
] @keyword.function
[ [
"assert" "assert"
"async" "async"
"await" "await"
"class" "class"
"def"
"except" "except"
"exec" "exec"
"finally" "finally"
"global" "global"
"lambda"
"nonlocal" "nonlocal"
"pass" "pass"
"print" "print"