From aaba009ba9d7881f0f81742da588ae70b572316d Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Thu, 31 Aug 2023 13:27:47 -0400 Subject: [PATCH] fix: update highlights --- queries/highlights.scm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/queries/highlights.scm b/queries/highlights.scm index a57b85f..c18c69f 100644 --- a/queries/highlights.scm +++ b/queries/highlights.scm @@ -63,14 +63,16 @@ (text) ] @string -(mainmenu name: (prompt) @tag) +(config name: (symbol) @constant) +(menuconfig name: (symbol) @constant) +(choice name: (symbol) @constant) -(config name: (symbol) @type) -(menuconfig name: (symbol) @type) -(choice name: (symbol) @type) +((symbol) @constant + (#lua-match? @constant "[A-Z0-9]+")) -(comment_entry name: (prompt) @type) -(menu name: (prompt) @type) +(mainmenu name: (prompt) @text.title) +(comment_entry name: (prompt) @text.title) +(menu name: (prompt) @text.title) (source (prompt) @text.uri @string.special)