aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm2
1 files changed, 1 insertions, 1 deletions
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