From: Yuan Fu <casouri@gmail.com>
To: leungbk@posteo.net
Cc: 59470-done@debbugs.gnu.org
Subject: bug#59470: 29.0.50; python-ts-mode does not always correctly fontify decorators
Date: Tue, 22 Nov 2022 18:50:43 -0800 [thread overview]
Message-ID: <9BC2005B-7E7C-4965-B86A-8B5370E60AD4@gmail.com> (raw)
In-Reply-To: <87edtvpvc4.fsf@posteo.net>
Brian Leung <leungbk@posteo.net> writes:
> Open the following Python file with python-ts-mode:
>
> from functools import lru_cache
>
> @lru_cache(None)
> def dp(i):
> return i
>
> The decorator is not fontified correctly when "None" is fully typed out;
> meanwhile, when "None" is mistyped (for example as "Non"), everything
> inside the parens is fontified using the decorator face.
>
> Ideally, only the "@lru_cache" text is fontified as a decorator, while
> the contents inside the parens are fontified independently.
Thanks, I’ve fixes this in 5efa65755d9.
prev parent reply other threads:[~2022-11-23 2:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 2:38 bug#59470: 29.0.50; python-ts-mode does not always correctly fontify decorators Brian Leung
2022-11-23 2:50 ` Yuan Fu [this message]
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=9BC2005B-7E7C-4965-B86A-8B5370E60AD4@gmail.com \
--to=casouri@gmail.com \
--cc=59470-done@debbugs.gnu.org \
--cc=leungbk@posteo.net \
/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).