From 1ad1f3b35afda469605ea8f6f0961dd4fa58e53d Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 18 Dec 2020 12:49:56 -0500 Subject: Python: fix self highlighing --- queries/python/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index b98fc0cf7..23ec979f0 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -109,7 +109,7 @@ (none) @constant.builtin [(true) (false)] @boolean ((identifier) @variable.builtin - (#match? @variable.builtin "self")) + (#match? @variable.builtin "^self$")) (integer) @number (float) @float -- cgit v1.2.3-70-g09d2