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/hack/highlights.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'queries/hack') diff --git a/queries/hack/highlights.scm b/queries/hack/highlights.scm index ffb365c87..a75b166ca 100644 --- a/queries/hack/highlights.scm +++ b/queries/hack/highlights.scm @@ -12,7 +12,10 @@ [ (comment) (heredoc) -] @comment +] @comment @spell + +((comment) @comment.documentation + (#lua-match? @comment.documentation "^/[*][*][^*].*[*]/$")) "function" @keyword.function -- cgit v1.2.3-70-g09d2