unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: acidbong@tilde.club, Randy Taylor <dev@rjt.dev>,
	Yuan Fu <casouri@gmail.com>
Cc: 74277@debbugs.gnu.org
Subject: bug#74277: 29.4; rust-ts-mode doesn't highlight some function calls
Date: Sat, 09 Nov 2024 10:52:14 +0200	[thread overview]
Message-ID: <86bjyookld.fsf@gnu.org> (raw)
In-Reply-To: <b34fca83eb8d70533c160f2c0244502aabf73a28@tilde.club> (bug-gnu-emacs@gnu.org)

> 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@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?





  reply	other threads:[~2024-11-09  8:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-08 20:24 bug#74277: 29.4; rust-ts-mode doesn't highlight some function calls acidbong--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-11-09  8:52 ` Eli Zaretskii [this message]
2024-11-10 21:10   ` Randy Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bjyookld.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74277@debbugs.gnu.org \
    --cc=acidbong@tilde.club \
    --cc=casouri@gmail.com \
    --cc=dev@rjt.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).