1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Correctly fontify types in typeof() expression in csharp-ts-mode

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
Add new pattern.
This commit is contained in:
Jostein Kjønigsen 2022-11-25 20:15:06 +01:00 committed by Yuan Fu
parent 93c8220937
commit bd10c3cfa2
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -812,7 +812,8 @@ compilation and evaluation time conflicts."
(cast_expression (identifier) @font-lock-type-face)
["operator"] @font-lock-type-face
(type_parameter_constraints_clause
target: (identifier) @font-lock-type-face))
target: (identifier) @font-lock-type-face)
(type_of_expression (identifier) @font-lock-type-face))
:language 'c-sharp
:feature 'definition
:override t