rust-ts-mode: Fix highlighting of function name in call_expression
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--font-lock-settings): Remove :override from the 'property' rules and move them above 'variable' (bug#61302).
This commit is contained in:
parent
088425538f
commit
a529b0d646
1 changed files with 5 additions and 6 deletions
|
@ -234,6 +234,11 @@
|
||||||
(use_as_clause alias: (identifier) @font-lock-type-face)
|
(use_as_clause alias: (identifier) @font-lock-type-face)
|
||||||
(use_list (identifier) @font-lock-type-face))
|
(use_list (identifier) @font-lock-type-face))
|
||||||
|
|
||||||
|
:language 'rust
|
||||||
|
:feature 'property
|
||||||
|
'((field_identifier) @font-lock-property-face
|
||||||
|
(shorthand_field_initializer (identifier) @font-lock-property-face))
|
||||||
|
|
||||||
:language 'rust
|
:language 'rust
|
||||||
:feature 'variable
|
:feature 'variable
|
||||||
'((identifier) @font-lock-variable-name-face
|
'((identifier) @font-lock-variable-name-face
|
||||||
|
@ -245,12 +250,6 @@
|
||||||
:override t
|
:override t
|
||||||
'((escape_sequence) @font-lock-escape-face)
|
'((escape_sequence) @font-lock-escape-face)
|
||||||
|
|
||||||
:language 'rust
|
|
||||||
:feature 'property
|
|
||||||
:override t
|
|
||||||
'((field_identifier) @font-lock-property-face
|
|
||||||
(shorthand_field_initializer (identifier) @font-lock-property-face))
|
|
||||||
|
|
||||||
:language 'rust
|
:language 'rust
|
||||||
:feature 'error
|
:feature 'error
|
||||||
:override t
|
:override t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue