From: Yuan Fu <casouri@gmail.com>
To: Noah Peart <noah.v.peart@gmail.com>
Cc: 70465@debbugs.gnu.org
Subject: bug#70465: [PATCH] Add font-locking rule for Rust function signatures
Date: Fri, 19 Apr 2024 00:24:49 -0700 [thread overview]
Message-ID: <25F19856-6D74-4C71-A249-F9C44CABAF20@gmail.com> (raw)
In-Reply-To: <CAPVBTSdpnpJKEYXckLMCoigPEdsZN+C3zLnYVN35C_3zZ768Dg@mail.gmail.com>
Noah Peart <noah.v.peart@gmail.com> writes:
> Tags: patch
>
> Adds a rule to font-lock Rust function signatures and missing function
> modifier "default" to rust-ts-mode--keywords.
>
> The new rule adds font-locking to signatures as in the following
> example:
>
> trait Foo {
> fn foo() -> String;
> // ^ font-lock-function-name-face
> }
Thanks!
Eli, for this kind of small fix patches, should it go to emacs-29 or
master? I don’t think it’ll affect the stability of emacs-29, but in the
same time it isn’t an urgent bug either.
Yuan
next prev parent reply other threads:[~2024-04-19 7:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 2:01 bug#70465: [PATCH] Add font-locking rule for Rust function signatures Noah Peart
2024-04-19 7:24 ` Yuan Fu [this message]
2024-04-19 10:47 ` Eli Zaretskii
2024-04-19 16:47 ` Noah Peart
2024-04-19 17:35 ` Eli Zaretskii
2024-04-19 17:43 ` Noah Peart
2024-04-22 0:03 ` Yuan Fu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25F19856-6D74-4C71-A249-F9C44CABAF20@gmail.com \
--to=casouri@gmail.com \
--cc=70465@debbugs.gnu.org \
--cc=noah.v.peart@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.