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:
parent
793c24a6ac
commit
088425538f
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue