Add outline support for Ruby singleton methods
This commit is contained in:
@@ -6,6 +6,12 @@
|
||||
"def" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(singleton_method
|
||||
"def" @context
|
||||
object: (_) @context
|
||||
"." @context
|
||||
name: (_) @name) @item
|
||||
|
||||
(module
|
||||
"module" @context
|
||||
name: (_) @name) @item
|
||||
name: (_) @name) @item
|
||||
|
||||
Reference in New Issue
Block a user