Add outline support for Ruby singleton methods
This commit is contained in:
parent
6304897abc
commit
57ff173e29
1 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,12 @@
|
||||||
"def" @context
|
"def" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
||||||
|
(singleton_method
|
||||||
|
"def" @context
|
||||||
|
object: (_) @context
|
||||||
|
"." @context
|
||||||
|
name: (_) @name) @item
|
||||||
|
|
||||||
(module
|
(module
|
||||||
"module" @context
|
"module" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue