* 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.
:feature 'type
'([(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
:feature 'variable
'((identifier) @font-lock-variable-name-face)
:override t
'((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
:feature 'error
:override t