diff options
Diffstat (limited to 'queries/python')
| -rw-r--r-- | queries/python/highlights.scm | 10 |
1 files changed, 8 insertions, 2 deletions
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) |
