GNU bug report logs - #70478
30.0.50; [PATCH] Fix treesitter-font-lock-settings for built-in functions and attributes.

Previous Next

Package: emacs;

Reported by: Prateek Sharma <ps.prateek.sharma143 <at> gmail.com>

Date: Fri, 19 Apr 2024 23:06:33 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Fixed in version 30.1

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Prateek Sharma <ps.prateek.sharma143 <at> gmail.com>
To: 70478 <at> debbugs.gnu.org
Subject: bug#70478: 30.0.50; [PATCH] Fix treesitter-font-lock-settings for built-in functions and attributes.
Date: Sat, 20 Apr 2024 02:30:17 +0530
[Message part 1 (text/plain, inline)]
Dear maintainers,

I do a lot of programming in python and have noticed that if there is a
method of a class defined with the same name as a builtin function. It
gets highlighted with the face for builtin functions and it looks
different for all the other functions and confuses me sometimes and just
looks inconsistent.

I have made a simple fix to the treesitter query and it seems to have
fixed the problem.

Please share you thoughts on this fix. This is my first time
contributing to an open-source project and to emacs. Very excited to
hear from you guys!!!

Prateek Sharma
[Message part 2 (text/html, inline)]
[0001-Fix-treesitter-font-lock-settings-for-built-in-funct.patch (application/octet-stream, attachment)]

This bug report was last modified 1 year and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.