From 5a87bc98dabd0d38152a6fa774005f7ecbd40f1b Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Thu, 2 Mar 2023 08:06:35 -0500 Subject: feat: add `@comment.documentation` where applicable --- queries/lua/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'queries/lua') diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 1c17d823b..fa2eff68d 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -187,6 +187,12 @@ (comment) @comment @spell +((comment) @comment.documentation + (#lua-match? @comment.documentation "^[-][-][-]")) + +((comment) @comment.documentation + (#lua-match? @comment.documentation "^[-][-](%s?)@")) + (hash_bang_line) @preproc (number) @number