GNU bug report logs - #74277
29.4; rust-ts-mode doesn't highlight some function calls

Previous Next

Package: emacs;

Reported by: acidbong <at> tilde.club

Date: Sat, 9 Nov 2024 08:22:02 UTC

Severity: normal

Tags: notabug

Found in version 29.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 74277 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: acidbong <at> tilde.club, Randy Taylor <dev <at> rjt.dev>,
 Yuan Fu <casouri <at> gmail.com>
Cc: 74277 <at> debbugs.gnu.org
Subject: Re: bug#74277: 29.4;
 rust-ts-mode doesn't highlight some function calls
Date: Sat, 09 Nov 2024 10:52:14 +0200
> Date: Fri, 08 Nov 2024 20:24:07 +0000
> From: acidbong--- via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> rust-ts-mode highlights function calls when they're used in an
> assignment or as statements, but not in string formatting:
> 
> 
> ```
> println!("Some line and {}", some_function(a, b))
>                            # ^^^^^^^^^^^^^ this is not getting highlighted
> ```
> 
> This is how it looks in Emacs (treesit-level is 4 btw):
> https://matrix.envs.net/_matrix/media/r0/download/envs.net/66652827fc7545e57d2eef263ee28ef6bc2ef1c01854976160883015680
> 
> This is how it looks in Neovim (with treesitter highlighting on):
> https://matrix.envs.net/_matrix/media/r0/download/envs.net/382a104ee3e6e4dacabebfa7f84f4b9b7231b1171854976151936565248
> 
> -----------------------------------

Thanks.

Randy/Yuan, any suggestions or fixes?




This bug report was last modified 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.