bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62112: [PATCH] Add missing rust-ts-mode highlight query for scoped_t


From: Dmitry Gutov
Subject: bug#62112: [PATCH] Add missing rust-ts-mode highlight query for scoped_type_identifiers
Date: Sat, 11 Mar 2023 15:56:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

Version: 29.1

On 11/03/2023 04:23, Randy Taylor wrote:
X-Debbugs-CC: dgutov@yandex.ru

Examples:
     match &cli.command {
         Commands::Run {
             a,
             b,
             c,
             d,
         } => todo!(),
     }

Commands should be highlighted as a type.

Likewise for:
     match msg {
         Message::Quit => {
             println!("The Quit variant has no data to destructure.");
         }
         Message::Move { x, y } => {
            println!("Move in the x direction {x} and in the y direction {y}");
         }
         Message::Write(text) => {
             println!("Text message: {text}");
         }
         Message::ChangeColor(r, g, b) => {
            println!("Change the color to red {r}, green {g}, and blue {b}",)
         }
     }

Message::Move should have Message highlighted as a type.

Attached is a patch fixing it.

Thanks! Installed.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]