From 80b4fa7970ee159e5c2c715bbcd386143c48dcb1 Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Thu, 7 Sep 2023 11:45:24 +0600 Subject: fix(lua): highlights for attribute --- queries/lua/highlights.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'queries/lua') diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 7608da57a..ecc81b91e 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -140,9 +140,10 @@ (#eq? @keyword.coroutine "coroutine")) (variable_list - attribute: (attribute - (["<" ">"] @punctuation.bracket - (identifier) @attribute))) + (attribute + "<" @punctuation.bracket + (identifier) @attribute + ">" @punctuation.bracket)) ;; Labels -- cgit v1.2.3-70-g09d2