Skip to content

Commit

Permalink
(9695) Highlight Rust doc comments with markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis authored and flinesse committed May 6, 2024
1 parent b802664 commit 8e4b353
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion runtime/queries/rust/injections.scm
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
([(line_comment) (block_comment)] @injection.content
([(line_comment !doc) (block_comment !doc)] @injection.content
(#set! injection.language "comment"))

((doc_comment) @injection.content
(#set! injection.language "markdown")
(#set! injection.combined))

((macro_invocation
macro:
[
Expand Down

0 comments on commit 8e4b353

Please sign in to comment.