From 03a77074051b429e988aa9d95728333bb615d818 Mon Sep 17 00:00:00 2001 From: disrupted Date: Fri, 7 Mar 2025 09:41:42 +0100 Subject: [PATCH] fix(python): highlight `@variable.member` correctly for member access context --- queries/python/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 8e039fb42..16b83281b 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -25,7 +25,8 @@ ((attribute attribute: (identifier) @variable.member) - (#lua-match? @variable.member "^[%l_].*$")) + (#lua-match? @variable.member "^[%l_].*$") + (#set! "priority" 101)) ((assignment left: (identifier) @type.definition