diff options
| author | zc he <blindfs19@gmail.com> | 2024-12-18 08:50:36 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-17 16:50:36 -0800 |
| commit | 981ca7e353da6ea69eaafe4348fda5e800f9e1d8 (patch) | |
| tree | dc6eb7204d517ce91583ce046ef84425f03fdaf6 /queries | |
| parent | fix(lua): remove duplicate `nvim_command` (#7477) (diff) | |
| download | nvim-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.scm | 5 |
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) |
