From bd9095e96986fbb65829a3dbc598f9b35d9b7db2 Mon Sep 17 00:00:00 2001 From: antonk52 Date: Sun, 4 Jul 2021 19:55:59 +0300 Subject: feat(keywords) add keyword.return & keyword.yield --- queries/python/highlights.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index b97af471a..ce5970747 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -210,13 +210,19 @@ "pass" "print" "raise" - "return" "try" "with" - "yield" "as" ] @keyword +[ + "return" +] @keyword.return + +[ + "yield" +] @keyword.yield + ["from" "import"] @include (aliased_import "as" @include) -- cgit v1.2.3-70-g09d2