mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Add Ruby method visibility in outline view (#7954)
Release Notes: - Improved ([#7849 ](https://github.com/zed-industries/zed/issues/7849)). <img width="897" alt="image" src="https://github.com/zed-industries/zed/assets/7274458/a2b0db84-1971-45c0-a5a2-68de651e342b">
This commit is contained in:
parent
aad7761038
commit
1e44bac418
@ -2,6 +2,9 @@
|
||||
"class" @context
|
||||
name: (_) @name) @item
|
||||
|
||||
((identifier) @context
|
||||
(#match? @context "^(private|protected|public)$")) @item
|
||||
|
||||
(method
|
||||
"def" @context
|
||||
name: (_) @name) @item
|
||||
|
Loading…
Reference in New Issue
Block a user