Consistent fontification of using-directives in csharp-ts-mode

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--font-lock-settings):
New rules.
This commit is contained in:
Jostein Kjønigsen 2022-12-06 09:40:03 +01:00 committed by Yuan Fu
parent 5257b9cda4
commit b8790e320e
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -748,8 +748,11 @@ compilation and evaluation time conflicts."
:language 'c-sharp
:feature 'definition
:override t
'((qualified_name (identifier) @font-lock-variable-name-face)
'((qualified_name (identifier) @font-lock-type-face)
(using_directive (identifier) @font-lock-type-face)
(using_directive (name_equals
(identifier) @font-lock-type-face
["="] @default-face))
(enum_declaration (identifier) @font-lock-type-face)
(enum_member_declaration (identifier) @font-lock-variable-name-face)