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 --- tests/query/highlights/python/future_import.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/query/highlights/python/future_import.py (limited to 'tests/query/highlights/python') diff --git a/tests/query/highlights/python/future_import.py b/tests/query/highlights/python/future_import.py new file mode 100644 index 000000000..7495588a9 --- /dev/null +++ b/tests/query/highlights/python/future_import.py @@ -0,0 +1,4 @@ +from __future__ import print_function +# ^ @include +# ^ @constant.builtin +# ^ @include -- cgit v1.2.3-70-g09d2