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

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

bug#59909: 29.0.60; csharp-ts-mode does not fontify escape sequences nor


From: Yuan Fu
Subject: bug#59909: 29.0.60; csharp-ts-mode does not fontify escape sequences nor highlight syntax errors
Date: Fri, 9 Dec 2022 12:39:54 -0800

Jostein Kjønigsen <jostein@secure.kjonigsen.net> writes:

> Consider the following C# code:
>
> public class Test
> {
>     public const string Foo = "test \t escape";
>     fdsfd
> }
>
> When activating csharp-ts-mode, the escape sequence on line 3 is not 
> fontified, and the syntax error on line 4 is not
> highlighted.
>
> json-ts-mode does this, which is cool and I think csharp-ts-mode should have 
> it too.
>
> Attached is a patch which makes csharp-ts-mode support these fontification 
> rules.

Applied, thanks! Also, it would be nice if you can write the commit
messages in the style described in the CONTRIBUTE file under project
root. You can have a look at the commit messages of your commits that I
applied for some example.

Yuan





reply via email to

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