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:
Turiiya 2024-06-28 05:33:06 +02:00 committed by GitHub
parent 984604288d
commit cf7baac35a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -292,6 +292,7 @@
(_
(line_comment)+ @comment.documentation
.
[
(function_declaration)
(type_declaration)