fix(rust): highlight doc comment markers as @comment.documentation

Co-authored-by: LunarLambda <LunarLambda@users.noreply.github.com>
This commit is contained in:
Nico Salm
2026-01-16 01:09:25 -06:00
committed by Christian Clason
parent 7c14161403
commit 19261d56ed

View File

@@ -476,9 +476,12 @@
[
(line_comment)
(block_comment)
] @comment @spell
[
(outer_doc_comment_marker)
(inner_doc_comment_marker)
] @comment @spell
] @comment.documentation
(line_comment
(doc_comment)) @comment.documentation