From 97449db624af2271267adca4d52edc3fae0bb44f Mon Sep 17 00:00:00 2001 From: blindfs Date: Wed, 18 Dec 2024 08:46:38 +0800 Subject: [PATCH] fix: parameter comment doc highlight --- queries/nu/highlights.scm | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/queries/nu/highlights.scm b/queries/nu/highlights.scm index dfd6f46..5fbc61b 100644 --- a/queries/nu/highlights.scm +++ b/queries/nu/highlights.scm @@ -311,13 +311,9 @@ key: (identifier) @property (shebang) @keyword.directive (comment) @comment -( - (comment)+ @comment.documentation - . - (decl_def) -) -( - (parameter) - . - (comment) @comment.documentation -) +((comment)+ @comment.documentation @spell + . + (decl_def)) + +(parameter + (comment) @comment.documentation @spell)