From 017760113a2c1276245e414b3f4fe4fb183c7ef0 Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Thu, 17 Jun 2021 13:33:53 -0500 Subject: Highlights(python): Add `@keyword.function` Use `@keyword.function` for `def` and `lambda` --- queries/python/highlights.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 9d9f8a5bb..9bcfa183d 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -195,17 +195,20 @@ "del" ] @keyword.operator +[ + "def" + "lambda" +] @keyword.function + [ "assert" "async" "await" "class" - "def" "except" "exec" "finally" "global" - "lambda" "nonlocal" "pass" "print" -- cgit v1.2.3-70-g09d2