Skip to content

Commit

Permalink
fix: update highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Aug 31, 2023
1 parent cd80dca commit aaba009
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit aaba009

Please sign in to comment.