rbi is a file extension used by Sorbet, typechecker for Ruby: https://sorbet.org/docs/rbi
Brewfile is a bundler file for Homebrew package manager: https://docs.brew.sh/Brew-Bundle-and-Brewfile
https://github.com/vim/vim/pull/18697
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Hmm, ordinarily I would say you should make this PR to the vim-ruby project: https://github.com/vim-ruby/vim-ruby. This is occasionally merged upstream, which is how the shipped runtime files get updated. But Sorbet support is already present there since 2020: vim-ruby/vim-ruby@07e8c85
I see that the upstream runtime files were missing support for .rbi even before the conversion to the new autoloaded detection mechanism: 3221a0c#diff-c07c0771a9f5af08e375703487a8fe7bbddd71f98a7bbe06acd78365525a243e. Maybe they were just missed, or maybe an executive decision has been made to filter them out or something? @dkearns, do you know why .rbi detection is missing upstream?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Back when Ruby was cooler with the kids than it is these days, the ftdetect updates were coming thick and fast and we decided to only submit those that were considered part of the core language ecosystem (roughly) for distribution with Vim. That's why there's two ftdetect files, the entries in ruby_extra.vim didn't make it into the Vim.
Vim's accepting pretty much anything these days for file detection so I guess we should look at adding ruby_extra.vim as well.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
So this is still work in progress?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
No, this can be merged now. I'll look at adding some more soon.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@dkearns approved this pull request.
Thanks @botantony
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
thanks
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()