highlight(scala): highlight abstract methods in traits and classes (#9340)
This commit is contained in:
parent
0328fa4d02
commit
ee68fd09ac
1 changed files with 14 additions and 6 deletions
|
@ -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)))
|
||||
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…
Add table
Reference in a new issue