mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-12 00:07:42 +03:00
highlight(scala): highlight abstract methods in traits and classes (#9340)
This commit is contained in:
parent
0328fa4d02
commit
ee68fd09ac
@ -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…
Reference in New Issue
Block a user