mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
fix(v): anchor comment highlight query
* fix(v): use `source_file` as parent node for comment highlight query * fix: correctly recognize doc comment
This commit is contained in:
parent
984604288d
commit
cf7baac35a
1 changed files with 1 additions and 0 deletions
|
@ -292,6 +292,7 @@
|
|||
|
||||
(_
|
||||
(line_comment)+ @comment.documentation
|
||||
.
|
||||
[
|
||||
(function_declaration)
|
||||
(type_declaration)
|
||||
|
|
Loading…
Reference in a new issue