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:
parent
5257b9cda4
commit
b8790e320e
1 changed files with 4 additions and 1 deletions
|
@ -748,8 +748,11 @@ compilation and evaluation time conflicts."
|
||||||
:language 'c-sharp
|
:language 'c-sharp
|
||||||
:feature 'definition
|
:feature 'definition
|
||||||
:override t
|
: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 (identifier) @font-lock-type-face)
|
||||||
|
(using_directive (name_equals
|
||||||
|
(identifier) @font-lock-type-face
|
||||||
|
["="] @default-face))
|
||||||
|
|
||||||
(enum_declaration (identifier) @font-lock-type-face)
|
(enum_declaration (identifier) @font-lock-type-face)
|
||||||
(enum_member_declaration (identifier) @font-lock-variable-name-face)
|
(enum_member_declaration (identifier) @font-lock-variable-name-face)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue