mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 10:57:48 +03:00
rust: Highlight /
and !
within comments as comments
This commit is contained in:
parent
5f62c5c24c
commit
1afa63d457
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@
|
|||
(string_literal)
|
||||
(raw_string_literal)
|
||||
] @string
|
||||
(outer_doc_comment_marker "/" @comment)
|
||||
(inner_doc_comment_marker "!" @comment)
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue