From f1373051e554cc4642cda719c8023e4e8508eb2d Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 13 May 2022 16:46:06 -0500 Subject: Python: highlight future import (#2936) * Python: highlight future import * Use constant.builtin --- queries/python/highlights.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'queries/python') 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 -- cgit v1.2.3-70-g09d2