aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/nu/highlights.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/queries/nu/highlights.scm b/queries/nu/highlights.scm
index 3c663da24..ecf7280c9 100644
--- a/queries/nu/highlights.scm
+++ b/queries/nu/highlights.scm
@@ -355,8 +355,9 @@ key: (identifier) @property
(comment) @comment @spell
-((comment) @comment.documentation @spell
+((comment)+ @comment.documentation @spell
+ .
(decl_def))
-((parameter)
+(parameter
(comment) @comment.documentation @spell)