From a4ade37a5685bb99dd0938f4dd6e73bb69e6486d Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 21 Feb 2025 10:28:30 -0500 Subject: [PATCH] rust: Add `raw` to keyword list for syntax highlighting (#25342) 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 --- crates/languages/src/rust/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scm index bd5221f1e609ee..5244cd630dc0e9 100644 --- a/crates/languages/src/rust/highlights.scm +++ b/crates/languages/src/rust/highlights.scm @@ -99,6 +99,7 @@ "mod" "move" "pub" + "raw" "ref" "return" "static"