From: Maciej Kalandyk <m.kalandyk@outlook.com>
To: "67703@debbugs.gnu.org" <67703@debbugs.gnu.org>
Subject: bug#67703: Fix python-ts-mode syntax higlighting as to account for default arguments
Date: Sun, 10 Dec 2023 16:35:22 +0000 [thread overview]
Message-ID: <AM0PR10MB358628984B166CC243BC8CEE8088A@AM0PR10MB3586.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <AM0PR10MB3586395832C9B19C01C4129A808AA@AM0PR10MB3586.EURPRD10.PROD.OUTLOOK.COM>
[-- Attachment #1.1: Type: text/plain, Size: 83 bytes --]
Sorry for that, i am quite new to git.
Attaching patch with only important parts
[-- Attachment #1.2: Type: text/html, Size: 568 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch.patch --]
[-- Type: text/x-patch; name="patch.patch", Size: 582 bytes --]
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
next prev parent reply other threads:[~2023-12-10 16:35 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 [this message]
2023-12-10 23:16 ` Dmitry Gutov
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=AM0PR10MB358628984B166CC243BC8CEE8088A@AM0PR10MB3586.EURPRD10.PROD.OUTLOOK.COM \
--to=m.kalandyk@outlook.com \
--cc=67703@debbugs.gnu.org \
/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.