Further generic-related improvements in csharp-ts-mode (bug#60376)
This is an additional patch for bug#60376. * lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings): New rules.
This commit is contained in:
parent
0f5e74f173
commit
699711786a
1 changed files with 3 additions and 0 deletions
|
@ -773,9 +773,12 @@ compilation and evaluation time conflicts."
|
||||||
(array_type
|
(array_type
|
||||||
(identifier) @font-lock-type-face)
|
(identifier) @font-lock-type-face)
|
||||||
(cast_expression (identifier) @font-lock-type-face)
|
(cast_expression (identifier) @font-lock-type-face)
|
||||||
|
(cast_expression (generic_name (identifier) @font-lock-type-face))
|
||||||
["operator"] @font-lock-type-face
|
["operator"] @font-lock-type-face
|
||||||
(type_parameter_constraints_clause
|
(type_parameter_constraints_clause
|
||||||
target: (identifier) @font-lock-type-face)
|
target: (identifier) @font-lock-type-face)
|
||||||
|
(type_constraint type: (identifier) @font-lock-type-face)
|
||||||
|
(type_constraint type: (generic_name (identifier) @font-lock-type-face))
|
||||||
(type_of_expression (identifier) @font-lock-type-face)
|
(type_of_expression (identifier) @font-lock-type-face)
|
||||||
(object_creation_expression
|
(object_creation_expression
|
||||||
type: (identifier) @font-lock-type-face)
|
type: (identifier) @font-lock-type-face)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue