aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 681b9e4de..18ed5162f 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -224,6 +224,7 @@
] @keyword.return
(yield "from" @keyword.return)
+(future_import_statement "from" @include "__future__" @constant.builtin)
(import_from_statement "from" @include)
"import" @include