unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Maciej Kalandyk <m.kalandyk@outlook.com>, 67703-done@debbugs.gnu.org
Subject: bug#67703: Fix python-ts-mode syntax higlighting as to account for default arguments
Date: Mon, 11 Dec 2023 01:16:59 +0200	[thread overview]
Message-ID: <61b78f48-c6a5-677e-fa22-ed690240df3f@gutov.dev> (raw)
In-Reply-To: <AM0PR10MB358628984B166CC243BC8CEE8088A@AM0PR10MB3586.EURPRD10.PROD.OUTLOOK.COM>

Version: 29.2

On 10/12/2023 18:35, Maciej Kalandyk wrote:
> Sorry for that, i am quite new to git.
> Attaching patch with only important parts
> 
> patch.patch
> 
> diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
> index 4b940b3..b625948 100644
> --- a/lisp/progmodes/python.el
> +++ b/lisp/progmodes/python.el
> @@ -1121,7 +1121,8 @@ fontified."
>         name: (identifier) @font-lock-function-name-face)
>        (class_definition
>         name: (identifier) @font-lock-type-face)
> -     (parameters (identifier) @font-lock-variable-name-face))
> +     (parameters (identifier) @font-lock-variable-name-face)
> +     (parameters (default_parameter name: (identifier) @font-lock-variable-name-face)))
>   
>      :feature 'function
>      :language 'python

Thanks! Installed.





      reply	other threads:[~2023-12-10 23:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08  4:36 bug#67703: Fix python-ts-mode syntax higlighting as to account for default arguments Maciej Kalandyk
2023-12-08  6:51 ` Eli Zaretskii
     [not found]   ` <AM0PR10MB3586579D3A383D635692D5F88088A@AM0PR10MB3586.EURPRD10.PROD.OUTLOOK.COM>
2023-12-10  6:19     ` Eli Zaretskii
2023-12-10 10:15       ` Yuan Fu
2023-12-10 16:35 ` Maciej Kalandyk
2023-12-10 23:16   ` Dmitry Gutov [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=61b78f48-c6a5-677e-fa22-ed690240df3f@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=67703-done@debbugs.gnu.org \
    --cc=m.kalandyk@outlook.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 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).