Skip to content

Commit

Permalink
rust: Add raw to keyword list for syntax highlighting (#25342)
Browse files Browse the repository at this point in the history
This PR adds support for syntax highlighting the `raw` keyword in Rust.

Release Notes:

- Added `raw` keyword to Rust language highlights (see the [Rust 1.82.0
announcement](https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html#native-syntax-for-creating-a-raw-pointer)).

Co-authored-by: everdrone <[email protected]>
  • Loading branch information
maxdeviant and everdrone authored Feb 21, 2025
1 parent 1fb4620 commit a4ade37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/languages/src/rust/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"mod"
"move"
"pub"
"raw"
"ref"
"return"
"static"
Expand Down

0 comments on commit a4ade37

Please sign in to comment.