]> git.eshelyaron.com Git - emacs.git/commit
Update csharp-ts-mode font-lock (bug#73369)
authorYuan Fu <casouri@gmail.com>
Fri, 20 Sep 2024 08:16:44 +0000 (01:16 -0700)
committerEshel Yaron <me@eshelyaron.com>
Sun, 6 Oct 2024 06:46:06 +0000 (08:46 +0200)
commit299a1b90b8c8253c314d83ce4668ccf5105f609f
tree716d570da030f8fc3baafab67fd2bd3823084e4a
parenta881fb52bf75e55f81794afc0aa75c90de7bb33e
Update csharp-ts-mode font-lock (bug#73369)

Adapt to the latest c-sharp grammar.

* lisp/progmodes/csharp-mode.el:
(csharp-ts-mode--test-this-expression):
(csharp-ts-mode--test-interpolated-string-text):
(csharp-ts-mode--test-type-constraint):
(csharp-ts-mode--test-type-of-expression):
(csharp-ts-mode--test-name-equals):
(csharp-ts-mode--test-if-directive):
(csharp-ts-mode--test-method-declaration-type-field): New
functions.
(csharp-ts-mode--type-field): New variable.
(csharp-ts-mode--font-lock-settings): Fix font-lock rules.

(cherry picked from commit bf26ff0dc8d1591c9c75e12cfdf057353b3869bf)
lisp/progmodes/csharp-mode.el