rust: Highlight / and ! within comments as comments

This commit is contained in:
Michael Davis 2025-01-23 16:17:44 -05:00
parent 5f62c5c24c
commit 1afa63d457
No known key found for this signature in database

View file

@ -30,6 +30,8 @@
(string_literal)
(raw_string_literal)
] @string
(outer_doc_comment_marker "/" @comment)
(inner_doc_comment_marker "!" @comment)
[
(line_comment)
(block_comment)