mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
fix(rust): highlight doc comment markers as @comment.documentation
Co-authored-by: LunarLambda <LunarLambda@users.noreply.github.com>
This commit is contained in:
committed by
Christian Clason
parent
7c14161403
commit
19261d56ed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user