rust-ts-mode--font-lock-settings: Improve consistency

* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings):
Remove the rule that highlighted scope identifier in a function call
as type.  The existing rules will handle it when it does look like a
type (capitalized).
This commit is contained in:
Dmitry Gutov 2023-02-05 21:34:12 +02:00
parent 793c24a6ac
commit 088425538f

View file

@ -206,10 +206,7 @@
:language 'rust
:feature 'type
`((call_expression
function: (scoped_identifier
path: (identifier) @font-lock-type-face))
(enum_variant name: (identifier) @font-lock-type-face)
`((enum_variant name: (identifier) @font-lock-type-face)
(match_arm
pattern: (match_pattern (_ type: (identifier) @font-lock-type-face)))
(match_arm