]> git.eshelyaron.com Git - emacs.git/commit
Adjust function-call fontification in csharp-ts-mode (bug#60376)
authorJostein Kjønigsen <jostein@kjonigsen.net>
Sun, 1 Jan 2023 16:27:06 +0000 (17:27 +0100)
committerYuan Fu <casouri@gmail.com>
Sun, 1 Jan 2023 23:22:06 +0000 (15:22 -0800)
commit8994f87ad40cabd99a93e0000abfd94777c59f96
treeeb84e65da1e61c74f64d59d50c09fad29b8f69f3
parent411647a3f65c0290eedda165c9469899f6a39445
Adjust function-call fontification in csharp-ts-mode (bug#60376)

- Ensure method-invocations are highlighted only on level 4.
- Ensure consistent fontification of variable declarations
  (don't highlight usage of all variables).
- Fix issues with highlighting types in new() expressions.
- Fix issues with generic types in variable-declarations not using "var".
- Use fewer, more general queries for function-invocations. simplify code.

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Change rules.
(csharp-ts-mode): Update feature list.
lisp/progmodes/csharp-mode.el