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
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
"class" @context
|
"class" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
||||||
|
((identifier) @context
|
||||||
|
(#match? @context "^(private|protected|public)$")) @item
|
||||||
|
|
||||||
(method
|
(method
|
||||||
"def" @context
|
"def" @context
|
||||||
name: (_) @name) @item
|
name: (_) @name) @item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue