fix(rust): comment marker should not be @operator (#7135)

This commit is contained in:
Amaan Qureshi 2024-09-10 13:47:17 -04:00 committed by GitHub
parent c436d45eee
commit 6a3c6a42a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,17 +214,6 @@
(identifier) @function.macro .))
; Literals
[
(line_comment)
(block_comment)
] @comment @spell
(line_comment
(doc_comment)) @comment.documentation
(block_comment
(doc_comment)) @comment.documentation
(boolean_literal) @boolean
(integer_literal) @number
@ -463,3 +452,17 @@
macro: (identifier) @keyword.debug
"!" @keyword.debug
(#eq? @keyword.debug "dbg"))
; Comments
[
(line_comment)
(block_comment)
(outer_doc_comment_marker)
(inner_doc_comment_marker)
] @comment @spell
(line_comment
(doc_comment)) @comment.documentation
(block_comment
(doc_comment)) @comment.documentation