mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-04 08:47:11 +00:00
go-ts-mode: Fix highlighting of function name in call_expression
* lisp/progmodes/go-ts-mode.el (go-ts-mode--font-lock-settings): Remove :override from the 'property' rules and move them above 'variable' (bug#61302). Just like in rust-ts-mode.
This commit is contained in:
parent
07ffe902c6
commit
1fab91d852
@ -169,6 +169,11 @@
|
|||||||
:feature 'type
|
:feature 'type
|
||||||
'([(package_identifier) (type_identifier)] @font-lock-type-face)
|
'([(package_identifier) (type_identifier)] @font-lock-type-face)
|
||||||
|
|
||||||
|
:language 'go
|
||||||
|
:feature 'property
|
||||||
|
'((field_identifier) @font-lock-property-face
|
||||||
|
(keyed_element (_ (identifier) @font-lock-property-face)))
|
||||||
|
|
||||||
:language 'go
|
:language 'go
|
||||||
:feature 'variable
|
:feature 'variable
|
||||||
'((identifier) @font-lock-variable-name-face)
|
'((identifier) @font-lock-variable-name-face)
|
||||||
@ -178,12 +183,6 @@
|
|||||||
:override t
|
:override t
|
||||||
'((escape_sequence) @font-lock-escape-face)
|
'((escape_sequence) @font-lock-escape-face)
|
||||||
|
|
||||||
:language 'go
|
|
||||||
:feature 'property
|
|
||||||
:override t
|
|
||||||
'((field_identifier) @font-lock-property-face
|
|
||||||
(keyed_element (_ (identifier) @font-lock-property-face)))
|
|
||||||
|
|
||||||
:language 'go
|
:language 'go
|
||||||
:feature 'error
|
:feature 'error
|
||||||
:override t
|
:override t
|
||||||
|
Loading…
Reference in New Issue
Block a user