highlight(scala): highlight abstract methods in traits and classes (#9340)

pull/9386/head
Jaakko Paju 9 months ago committed by GitHub
parent 0328fa4d02
commit ee68fd09ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -57,13 +57,21 @@
(class_definition
body: (template_body
(function_definition
name: (identifier) @function.method)))
(object_definition
body: (template_body
(function_definition
name: (identifier) @function.method)))
[
(function_definition
name: (identifier) @function.method)
(function_declaration
name: (identifier) @function.method)
]))
(trait_definition
body: (template_body
[
(function_definition
name: (identifier) @function.method)
(function_declaration
name: (identifier) @function.method)
]))
(object_definition
body: (template_body
(function_definition
name: (identifier) @function.method)))

Loading…
Cancel
Save