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:
Ben Hamment 2024-02-20 02:26:04 +00:00 committed by GitHub
parent aad7761038
commit 1e44bac418
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,9 @@
"class" @context
name: (_) @name) @item
((identifier) @context
(#match? @context "^(private|protected|public)$")) @item
(method
"def" @context
name: (_) @name) @item