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

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

bug#60376: 29.0.60; Standardize csharp-ts-mode's font-lock features


From: Jostein Kjønigsen
Subject: bug#60376: 29.0.60; Standardize csharp-ts-mode's font-lock features
Date: Mon, 2 Jan 2023 10:59:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2


On 02.01.2023 01:12, Yuan Fu wrote:
Fantastic! I applied the patch, thanks!

Yuan

Great! Thanks!

Please note: The previous patch removed a very wide (generic_name (identifier)) selector, which incorrectly caused generic functions to be highlighted as a types.

This has lead to having to add in more specific (xxx (generic_name (identifier)) selectors around the codebase to compensate, and the previous patch evidently didn't have "all" the ones we need.

Attached is a very small patch which should make support for highlighting generic types more complete. I won't promise it has 100% coverage, but with this in place, I can't see any obvious places in code where I'm missing out.

With this in place, the only thing I'd like to improve now (if any) is indentation for object-creation/initialization expressions. I've made a few attempts and can't get those to behave properly.

Is this anything you could take a look at, Theo? :)

--
Jostein

Attachment: patch.txt
Description: Text document


reply via email to

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