Improve Rust highlight queries (#16747)
Release Notes: - Add `@variable.parameter` highlight scope  - Add `@attribute` highlight scope  - Add markdown injection inside `doc_comment`s 
This commit is contained in:
parent
eb0b6d57e3
commit
bf6767bc81
2 changed files with 13 additions and 0 deletions
|
@ -5,3 +5,11 @@
|
|||
(macro_rule
|
||||
(token_tree) @content
|
||||
(#set! "language" "rust"))
|
||||
|
||||
(block_comment
|
||||
(doc_comment) @content
|
||||
(#set! "language" "markdown"))
|
||||
|
||||
(line_comment
|
||||
(doc_comment) @content
|
||||
(#set! "language" "markdown"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue