Add the .rbi file extension as a Ruby file type.

.rbi files are type definition files that are currently used by some
community type checkers, most notably Stripe's Sorbet,
and will be part of the main language in Ruby 3.
This commit is contained in:
Connor Shea
2019-06-09 10:15:25 -06:00
parent b850405aa6
commit c898cc3489

View File

@@ -12,7 +12,7 @@
"contributes": {
"languages": [{
"id": "ruby",
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb",".podspec" ],
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb", ".podspec", ".rbi" ],
"filenames": [ "rakefile", "gemfile", "guardfile", "podfile", "capfile" ],
"aliases": [ "Ruby", "rb" ],
"firstLine": "^#!\\s*/.*\\bruby\\b",