mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
3a44a19af2
rust-mode.el recently started highlighting keywords that were substrings of identifiers. Identifiers such as `xyz_type` would have `type` highlighted, which isn't normal. This patch re-introduces `_` as a word constituent, so that keywords following a `_` don't get syntax highlighted as keywords. Fixes issue #20422