bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67703: Fix python-ts-mode syntax higlighting as to account for defau


From: Yuan Fu
Subject: bug#67703: Fix python-ts-mode syntax higlighting as to account for default arguments
Date: Sun, 10 Dec 2023 02:15:36 -0800
User-agent: Mozilla Thunderbird



On 12/9/23 10:19 PM, Eli Zaretskii wrote:
[Please use Reply All to keep the bug tracker on the CC list.]

Forwarding to the bug tracker:

From: Maciej Kalandyk <m.kalandyk@outlook.com>
Date: Sun, 10 Dec 2023 00:57:15 +0000
msip_labels:

in this code without patch

def test(x=None):
      return x

x=None in function signature won't be highlighted as definition
Ok, the fix makes sense. Basically, in such a function:


"a" is fontified but "b" isn't, the patch will fontify "b".

One thing though, the patch contains some indentation changes to unrelated code.

Yuan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]