aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorzc he <blindfs19@gmail.com>2024-12-18 08:50:36 +0800
committerGitHub <noreply@github.com>2024-12-17 16:50:36 -0800
commit981ca7e353da6ea69eaafe4348fda5e800f9e1d8 (patch)
treedc6eb7204d517ce91583ce046ef84425f03fdaf6 /queries
parentfix(lua): remove duplicate `nvim_command` (#7477) (diff)
downloadnvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar.gz
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar.bz2
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar.lz
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar.xz
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.tar.zst
nvim-treesitter-981ca7e353da6ea69eaafe4348fda5e800f9e1d8.zip
fix(nu): perf issue of highlight.scm (#7475)
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)