From 9668709211b2e683f27f414454a8b51bf0a6bda1 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Thu, 7 Sep 2023 11:43:24 +0600 Subject: [PATCH] fix(queries): highlights for attribute --- queries/highlights.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index f5bf998..5bdfcab 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -132,9 +132,10 @@ (#eq? @variable.builtin "self")) (variable_list - attribute: (attribute - (["<" ">"] @punctuation.bracket - (identifier) @attribute))) + (attribute + "<" @punctuation.bracket + (identifier) @attribute + ">" @punctuation.bracket)) ;; Constants