vscode/extensions/ruby/package.json
Connor Shea c898cc3489
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.
2019-07-17 17:58:20 -06:00

27 lines
823 B
JSON

{
"name": "ruby",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": { "vscode": "*" },
"scripts": {
"update-grammar": "node ../../build/npm/update-grammar.js textmate/ruby.tmbundle Syntaxes/Ruby.plist ./syntaxes/ruby.tmLanguage.json"
},
"contributes": {
"languages": [{
"id": "ruby",
"extensions": [ ".rb", ".rbx", ".rjs", ".gemspec", ".rake", ".ru", ".erb", ".podspec", ".rbi" ],
"filenames": [ "rakefile", "gemfile", "guardfile", "podfile", "capfile" ],
"aliases": [ "Ruby", "rb" ],
"firstLine": "^#!\\s*/.*\\bruby\\b",
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "ruby",
"scopeName": "source.ruby",
"path": "./syntaxes/ruby.tmLanguage.json"
}]
}
}